Searched defs:redirects (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium/webkit/glue/
H A Diframe_redirect_unittest.cc44 WebVector<WebURL> redirects; local
45 iframe_ds->redirectChain(redirects);
46 ASSERT_FALSE(redirects.isEmpty());
47 ASSERT_TRUE(GURL(redirects[0]) == GURL("about:blank"));
/external/llvm/unittests/Support/
H A DProgramTest.cpp83 const StringRef *redirects[] = { &nul, &nul, 0 }; local
84 int rc = ExecuteAndWait(my_exe, argv, &envp[0], redirects,
/external/chromium_org/content/public/common/
H A Dframe_navigate_params.h47 // Lists the redirects that occurred on the way to the current page. This
51 std::vector<GURL> redirects; member in struct:content::FrameNavigateParams
/external/llvm/lib/Support/
H A DProgram.cpp33 const StringRef **redirects, unsigned secondsToWait,
37 if (Execute(&Data, Program, args, envp, redirects, memoryLimit, ErrMsg)) {
46 const StringRef **redirects, unsigned memoryLimit,
48 Execute(/*Data*/ 0, Program, args, envp, redirects, memoryLimit, ErrMsg);
32 ExecuteAndWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned secondsToWait, unsigned memoryLimit, std::string *ErrMsg, bool *ExecutionFailed) argument
45 ExecuteNoWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned memoryLimit, std::string *ErrMsg) argument
/external/chromium_org/chrome/browser/history/
H A Dhistory_notifications.h27 // A list of redirects leading up to the URL represented by this struct. If
29 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects,
31 history::RedirectList redirects; member in struct:history::URLVisitedDetails
H A Dredirect_browsertest.cc6 // that the correct redirects are reflected in the history database. Errors
8 // the case of redirects. It may also mean problems with the history system.
44 // Schedule a history query for redirects. The response will be sent
62 history::RedirectList* redirects) {
63 for (size_t i = 0; i < redirects->size(); ++i)
64 rv->push_back(redirects->at(i));
82 std::vector<GURL> redirects = GetRedirects(first_url); local
84 ASSERT_EQ(1U, redirects.size());
85 EXPECT_EQ(final_url.spec(), redirects[0].spec());
100 std::vector<GURL> redirects local
57 OnRedirectQueryComplete( std::vector<GURL>* rv, HistoryService::Handle request_handle, GURL from_url, bool success, history::RedirectList* redirects) argument
150 std::vector<GURL> redirects = GetRedirects(first_url); local
175 std::vector<GURL> redirects = GetRedirects(first_url); local
199 std::vector<GURL> redirects = GetRedirects(first_url); local
250 std::vector<GURL> redirects = GetRedirects(first_url); local
298 std::vector<GURL> redirects = GetRedirects(first_url); local
[all...]
H A Dtop_sites_cache.cc13 most_visited_url_.redirects.push_back(url);
151 StoreRedirectChain(top_sites_[i].redirects, i);
154 void TopSitesCache::StoreRedirectChain(const RedirectList& redirects, argument
156 // |redirects| is empty if the user pinned a site and there are not enough top
160 for (size_t i = 0; i < redirects.size(); i++) {
162 if (!IsKnownURL(redirects[i])) {
179 return it->first.first->redirects[it->first.second];
H A Dtop_sites_database.cc28 // redirects A space separated list of URLs that are known to redirect
70 "redirects LONGVARCHAR,"
80 // Encodes redirects into a string.
82 std::vector<std::string> redirects; local
83 for (size_t i = 0; i < url.redirects.size(); i++)
84 redirects.push_back(url.redirects[i].spec());
85 return JoinString(redirects, ' ');
88 // Decodes redirects from a string and sets them for the url.
89 void SetRedirects(const std::string& redirects, histor argument
462 std::string redirects = statement.ColumnString(4); local
[all...]
/external/chromium/chrome/browser/history/
H A Dhistory_notifications.h36 // A list of redirects leading up to the URL represented by this struct. If
38 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects,
40 history::RedirectList redirects; member in struct:history::URLVisitedDetails
H A Dredirect_uitest.cc6 // that the correct redirects are reflected in the history database. Errors
8 // the case of redirects. It may also mean problems with the history system.
53 std::vector<GURL> redirects; local
54 ASSERT_TRUE(tab_proxy->GetRedirectsFrom(first_url, &redirects));
56 ASSERT_EQ(1U, redirects.size());
57 EXPECT_EQ(final_url.spec(), redirects[0].spec());
74 std::vector<GURL> redirects; local
75 ASSERT_TRUE(tab_proxy->GetRedirectsFrom(first_url, &redirects));
77 ASSERT_EQ(1U, redirects.size());
78 EXPECT_EQ(final_url.spec(), redirects[
124 std::vector<GURL> redirects; local
172 std::vector<GURL> redirects; local
206 std::vector<GURL> redirects; local
275 std::vector<GURL> redirects; local
308 std::vector<GURL> redirects; local
[all...]
H A Dtop_sites_cache.cc91 StoreRedirectChain(top_sites_[i].redirects, i);
94 void TopSitesCache::StoreRedirectChain(const RedirectList& redirects, argument
96 // redirects is empty if the user pinned a site and there are not enough top
100 for (size_t i = 0; i < redirects.size(); i++) {
102 if (!IsKnownURL(redirects[i])) {
114 most_visited_url.redirects.push_back(url);
H A Dtop_sites_database.cc74 "redirects LONGVARCHAR,"
90 "SELECT url, url_rank, title, thumbnail, redirects, "
108 std::string redirects = statement.ColumnString(4); local
109 SetRedirects(redirects, &url);
128 std::vector<std::string> redirects; local
129 for (size_t i = 0; i < url.redirects.size(); i++)
130 redirects.push_back(url.redirects[i].spec());
131 return JoinString(redirects, ' ');
135 void TopSitesDatabase::SetRedirects(const std::string& redirects, argument
[all...]
H A Dhistory_backend_unittest.cc81 history::RedirectList redirects; local
83 redirects.push_back(GURL(sequence[i]));
90 redirects.back(), Time::Now(), scope, page_id, GURL(),
91 redirects, PageTransition::LINK, history::SOURCE_BROWSED, true));
104 history::RedirectList redirects; local
106 redirects.push_back(url1);
108 redirects.push_back(url2);
111 redirects, PageTransition::CLIENT_REDIRECT,
841 history::RedirectList redirects; local
842 redirects
[all...]
H A Dhistory_unittest.cc231 history::RedirectList* redirects) {
234 saved_redirects_.swap(*redirects);
498 // redirects are tracked by the RenderView prior to updating history,
597 // TODO(brettw) this should also test redirects, which get the title of the
741 history::RedirectList redirects; local
742 redirects.push_back(url3);
743 redirects.push_back(url4);
745 // Visit url4 using redirects.
747 PageTransition::TYPED, redirects,
759 EXPECT_EQ(2U, most_visited_urls_[3].redirects
228 OnRedirectQueryComplete(HistoryService::Handle handle, GURL url, bool success, history::RedirectList* redirects) argument
[all...]
H A Dtop_sites_unittest.cc232 RedirectList redirects; local
233 redirects.push_back(url);
236 redirects, history::SOURCE_BROWSED, false);
241 RedirectList redirects; local
242 redirects.push_back(url);
245 redirects, history::SOURCE_BROWSED, false);
252 const history::RedirectList& redirects,
256 redirects, history::SOURCE_BROWSED, false);
391 mv.redirects.push_back(url);
402 mv.redirects
250 AddPageToHistory(const GURL& url, const string16& title, const history::RedirectList& redirects, base::Time time) argument
[all...]
H A Dhistory.cc305 const history::RedirectList& redirects,
308 AddPage(url, Time::Now(), id_scope, page_id, referrer, transition, redirects,
318 const history::RedirectList& redirects,
323 redirects, transition, visit_source,
338 // Add link & all redirects to visited link list.
343 if (!add_page_args.redirects.empty()) {
346 add_page_args.redirects[add_page_args.redirects.size() - 1]);
348 // We need the !redirects.empty() condition above since size_t is unsigned
350 for (size_t i = 0; i < add_page_args.redirects
300 AddPage(const GURL& url, const void* id_scope, int32 page_id, const GURL& referrer, PageTransition::Type transition, const history::RedirectList& redirects, history::VisitSource visit_source, bool did_replace_entry) argument
312 AddPage(const GURL& url, Time time, const void* id_scope, int32 page_id, const GURL& referrer, PageTransition::Type transition, const history::RedirectList& redirects, history::VisitSource visit_source, bool did_replace_entry) argument
[all...]
H A Dhistory_types.h550 RedirectList redirects; member in struct:history::MostVisitedURL
584 history::RedirectList redirects; member in class:history::HistoryAddPageArgs
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/
H A DOfflineSettings.java78 public boolean redirects() { method in class:OfflineSettings
/external/chromium/chrome/browser/tabs/
H A Dtab_finder.cc146 } else if (params.redirects.size() > 1 ||
147 params.redirects[0] != details.entry->url()) {
148 tab_contents_to_url_[source] = params.redirects[0];
235 history::RedirectList* redirects) {
236 if (success && !redirects->empty()) {
240 tab_contents_to_url_[tab_contents] = redirects->back();
232 QueryRedirectsToComplete(HistoryService::Handle handle, GURL url, bool success, history::RedirectList* redirects) argument
/external/chromium_org/chrome/browser/safe_browsing/
H A Dmalware_details.cc234 // If we have already started getting redirects from history service,
273 const std::vector<safe_browsing::RedirectChain>& redirects = local
276 for (size_t i = 0; i < redirects.size(); ++i)
277 AddRedirectUrlList(redirects[i]);
H A Dmalware_details_unittest.cc307 // The redirects is the redirect url chain leading to the url.
309 history::RedirectList* redirects) {
312 redirects->push_back(url);
315 *redirects, content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED,
640 // Test getting redirects from history service.
646 history::RedirectList redirects; local
647 redirects.push_back(GURL(kFirstRedirectURL));
648 redirects.push_back(GURL(kSecondRedirectURL));
649 AddPageToHistory(baseurl, &redirects);
661 // The redirects collectio
308 AddPageToHistory(const GURL& url, history::RedirectList* redirects) argument
[all...]
/external/chromium_org/chrome/test/perf/
H A Dgenerate_profile.cc159 history::RedirectList redirects; local
163 redirects.push_back(ConstructRandomURL());
164 redirects.push_back(url);
170 previous_url, redirects,
/external/chromium/chrome/browser/autocomplete/
H A Dhistory_url_provider.cc209 // higher-quality matches, and remove lower-quality redirects. So we ask
260 // Remove redirects and trim list to size. We want to provide up to
720 history::RedirectList redirects; local
721 backend->GetMostRecentRedirectsFrom(url, &redirects);
722 if (!redirects.empty()) {
723 // Remove all but the first occurrence of any of these redirects in the
727 // For example, when A redirects to B and our matches are [A, X, B],
728 // we'll get B as the redirects from, and we want to remove the second
729 // item of that pair, removing B. If A redirects to B and our matches are
731 redirects
[all...]
/external/chromium_org/content/browser/frame_host/
H A Dnavigation_controller_impl_unittest.cc1021 // Now the navigation redirects.
1303 std::vector<GURL> redirects; local
1304 redirects.push_back(GURL("http://foo2"));
1313 pending_entry->set_redirect_chain(redirects);
1666 params.redirects.push_back(GURL("http://foo1"));
1667 params.redirects.push_back(GURL("http://foo2"));
1723 params.redirects.push_back(GURL("http://foo1"));
1724 params.redirects.push_back(GURL("http://foo2"));
1770 params.redirects.push_back(GURL("http://foo1"));
1771 params.redirects
[all...]
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_url_provider.cc519 // redirects. So we ask for more results than we need, of every
587 // Remove redirects and trim list to size. We want to provide up to
988 history::RedirectList redirects; local
989 backend->GetMostRecentRedirectsFrom(url, &redirects);
990 if (!redirects.empty()) {
991 // Remove all but the first occurrence of any of these redirects in the
995 // For example, when A redirects to B and our matches are [A, X, B],
996 // we'll get B as the redirects from, and we want to remove the second
997 // item of that pair, removing B. If A redirects to B and our matches are
999 redirects
[all...]

Completed in 964 milliseconds

12