Home
last modified time | relevance | path

Searched refs:new_url (Results 1 – 25 of 120) sorted by relevance

12345

/external/chromium_org/chrome/browser/sync/test/integration/
Dsingle_client_typed_urls_sync_test.cc36 GURL new_url(kSanityHistoryUrl); in IN_PROC_BROWSER_TEST_F() local
37 AddUrlToHistory(0, new_url); in IN_PROC_BROWSER_TEST_F()
41 ASSERT_EQ(new_url, urls[0].url()); in IN_PROC_BROWSER_TEST_F()
54 GURL new_url(kSanityHistoryUrl); in IN_PROC_BROWSER_TEST_F() local
56 AddUrlToHistory(0, new_url); in IN_PROC_BROWSER_TEST_F()
57 AddUrlToHistory(0, new_url); in IN_PROC_BROWSER_TEST_F()
61 ASSERT_EQ(new_url, urls[0].url()); in IN_PROC_BROWSER_TEST_F()
74 GURL new_url(kSanityHistoryUrl); in IN_PROC_BROWSER_TEST_F() local
76 AddUrlToHistory(0, new_url); in IN_PROC_BROWSER_TEST_F()
77 AddUrlToHistory(0, new_url); in IN_PROC_BROWSER_TEST_F()
[all …]
Dtwo_client_typed_urls_sync_test.cc82 GURL new_url(kHistoryUrl); in IN_PROC_BROWSER_TEST_F() local
83 AddUrlToHistory(0, new_url); in IN_PROC_BROWSER_TEST_F()
86 ASSERT_EQ(new_url, urls[0].url()); in IN_PROC_BROWSER_TEST_F()
98 GURL new_url(kHistoryUrl); in IN_PROC_BROWSER_TEST_F() local
102 new_url, in IN_PROC_BROWSER_TEST_F()
108 ASSERT_EQ(new_url, urls[0].url()); in IN_PROC_BROWSER_TEST_F()
130 GURL new_url(kHistoryUrl); in IN_PROC_BROWSER_TEST_F() local
134 new_url, in IN_PROC_BROWSER_TEST_F()
140 ASSERT_EQ(new_url, urls[0].url()); in IN_PROC_BROWSER_TEST_F()
150 AddUrlToHistory(0, new_url); in IN_PROC_BROWSER_TEST_F()
[all …]
Dmultiple_client_typed_urls_sync_test.cc38 GURL new_url(kHistoryUrl); in IN_PROC_BROWSER_TEST_F() local
39 AddUrlToHistory(0, new_url); in IN_PROC_BROWSER_TEST_F()
42 ASSERT_EQ(new_url, urls[0].url()); in IN_PROC_BROWSER_TEST_F()
59 GURL new_url(unique_url); in IN_PROC_BROWSER_TEST_F() local
60 AddUrlToHistory(i, new_url); in IN_PROC_BROWSER_TEST_F()
64 ASSERT_EQ(new_url, urls[0].url()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/sync/glue/
Dtyped_url_model_associator.cc260 history::URLRow new_url(*ix); in DoAssociateModels() local
264 MergeUrls(typed_url, *ix, &visits, &new_url, &added_visits); in DoAssociateModels()
288 DCHECK_EQ(new_url.last_visit().ToInternalValue(), in DoAssociateModels()
290 WriteToSyncNode(new_url, visits, &write_node); in DoAssociateModels()
293 DCHECK_EQ(ix->id(), new_url.id()); in DoAssociateModels()
294 updated_urls.push_back(new_url); in DoAssociateModels()
412 history::URLRow new_url(GURL(typed_url.url())); in UpdateFromSyncDB() local
414 bool existing_url = history_backend_->GetURL(new_url.url(), &new_url); in UpdateFromSyncDB()
418 if (!FixupURLAndGetVisits(&new_url, &existing_visits)) { in UpdateFromSyncDB()
422 DLOG(ERROR) << "Could not load visits for url: " << new_url.url(); in UpdateFromSyncDB()
[all …]
Dtyped_url_model_associator_unittest.cc221 sync_pb::TypedUrlSpecifics new_url; in TEST_F() local
229 new_url.add_visits(visits[c]); in TEST_F()
230 new_url.add_visit_transitions(ui::PAGE_TRANSITION_TYPED); in TEST_F()
236 TypedUrlModelAssociator::DiffVisits(old_visits, new_url, in TEST_F()
244 sync_pb::TypedUrlSpecifics new_url; in TEST_F() local
262 new_url.add_visits(visits_right[c]); in TEST_F()
263 new_url.add_visit_transitions(ui::PAGE_TRANSITION_TYPED); in TEST_F()
269 TypedUrlModelAssociator::DiffVisits(old_visits, new_url, in TEST_F()
281 sync_pb::TypedUrlSpecifics new_url; in TEST_F() local
296 new_url.add_visits(visits_right[c]); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_editor.cc16 const GURL& new_url) { in CreateNewNode() argument
28 node = model->AddURL(parent, insert_index, new_title, new_url); in CreateNewNode()
128 const GURL& new_url) { in ApplyEditsWithNoFolderChange() argument
131 return CreateNewNode(model, parent, details, new_title, new_url); in ApplyEditsWithNoFolderChange()
138 model->SetURL(node, new_url); in ApplyEditsWithNoFolderChange()
150 const GURL& new_url) { in ApplyEditsWithPossibleFolderChange() argument
153 return CreateNewNode(model, new_parent, details, new_title, new_url); in ApplyEditsWithPossibleFolderChange()
162 model->SetURL(node, new_url); in ApplyEditsWithPossibleFolderChange()
Dbookmark_editor.h115 const GURL& new_url);
126 const GURL& new_url);
/external/chromium_org/chrome/browser/prerender/
Dprerender_resource_throttle.cc50 void PrerenderResourceThrottle::WillRedirectRequest(const GURL& new_url, in WillRedirectRequest() argument
63 info->GetChildID(), info->GetRenderFrameID(), new_url)); in WillRedirectRequest()
122 const GURL& new_url) { in WillRedirectRequestOnUI() argument
128 if (!PrerenderManager::DoesURLHaveValidScheme(new_url)) { in WillRedirectRequestOnUI()
130 ReportUnsupportedPrerenderScheme(new_url); in WillRedirectRequestOnUI()
Dprerender_util.cc113 GURL new_url(base::string16(decoded_url.data(), decoded_url.length())); in MaybeGetQueryStringBasedAliasURL() local
114 if (!new_url.is_empty() && new_url.is_valid()) { in MaybeGetQueryStringBasedAliasURL()
115 *alias_url = new_url; in MaybeGetQueryStringBasedAliasURL()
Dprerender_resource_throttle.h35 virtual void WillRedirectRequest(const GURL& new_url, bool* defer) OVERRIDE;
64 const GURL& new_url);
/external/chromium_org/content/public/browser/
Dresource_request_details.cc38 const GURL& new_url) in ResourceRedirectDetails() argument
40 new_url(new_url) { in ResourceRedirectDetails()
Dresource_request_details.h52 const GURL& new_url);
56 GURL new_url; member
/external/chromium_org/extensions/browser/api/web_request/
Dweb_request_api_helpers.cc282 const GURL& new_url) { in CalculateOnBeforeRequestDelta() argument
286 result->new_url = new_url; in CalculateOnBeforeRequestDelta()
331 const GURL& new_url, in CalculateOnHeadersReceivedDelta() argument
337 result->new_url = new_url; in CalculateOnHeadersReceivedDelta()
421 GURL* new_url, in MergeRedirectUrlOfResponsesHelper() argument
431 if ((*delta)->new_url.is_empty()) in MergeRedirectUrlOfResponsesHelper()
434 !(*delta)->new_url.SchemeIs(url::kDataScheme) && in MergeRedirectUrlOfResponsesHelper()
435 (*delta)->new_url.spec() != "about:blank") { in MergeRedirectUrlOfResponsesHelper()
439 if (!redirected || *new_url == (*delta)->new_url) { in MergeRedirectUrlOfResponsesHelper()
440 *new_url = (*delta)->new_url; in MergeRedirectUrlOfResponsesHelper()
[all …]
Dweb_request_api_helpers.h148 GURL new_url; member
210 const GURL& new_url);
221 const GURL& new_url,
248 GURL* new_url,
256 GURL* new_url,
/external/chromium_org/chrome/browser/profiles/
Dprofile_downloader.cc90 bool GetImageURLWithSize(const GURL& old_url, int size, GURL* new_url) { in GetImageURLWithSize() argument
91 DCHECK(new_url); in GetImageURLWithSize()
122 *new_url = GURL(new_spec); in GetImageURLWithSize()
123 return new_url->is_valid(); in GetImageURLWithSize()
127 *new_url = old_url; in GetImageURLWithSize()
175 GURL new_url; in ParseProfileJSON() local
176 if (!GetImageURLWithSize(GURL(url_string), image_size, &new_url)) { in ParseProfileJSON()
180 *url = new_url.spec(); in ParseProfileJSON()
/external/chromium_org/chrome/common/extensions/
Dextension_process_policy.cc28 const GURL& new_url, in CrossesExtensionProcessBoundary() argument
35 new_url); in CrossesExtensionProcessBoundary()
/external/chromium_org/content/browser/loader/
Dsync_resource_handler.cc54 redirect_info.new_url, request(), GetRequestInfo()->GetContext(), in OnRequestRedirected()
62 if (redirect_info.new_url.GetOrigin() != result_.final_url.GetOrigin()) { in OnRequestRedirected()
66 result_.final_url = redirect_info.new_url; in OnRequestRedirected()
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_resource_throttle.cc56 void SupervisedUserResourceThrottle::WillRedirectRequest(const GURL& new_url, in WillRedirectRequest() argument
58 ShowInterstitialIfNeeded(true, new_url, defer); in WillRedirectRequest()
/external/chromium_org/chrome/browser/component_updater/
Dcomponent_updater_resource_throttle.cc35 virtual void WillRedirectRequest(const GURL& new_url, bool* defer) OVERRIDE;
66 void CUResourceThrottle::WillRedirectRequest(const GURL& new_url, bool* defer) { in WillRedirectRequest() argument
/external/chromium_org/chrome/browser/net/
Dchrome_network_delegate.cc109 GURL* new_url, in ForceGoogleSafeSearchCallbackWrapper() argument
111 if (rv == net::OK && new_url->is_empty()) in ForceGoogleSafeSearchCallbackWrapper()
112 safe_search_util::ForceGoogleSafeSearch(request, new_url); in ForceGoogleSafeSearchCallbackWrapper()
358 GURL* new_url) { in OnBeforeURLRequest() argument
418 base::Unretained(new_url)); in OnBeforeURLRequest()
422 request, wrapped_callback, new_url); in OnBeforeURLRequest()
424 if (force_safe_search && rv == net::OK && new_url->is_empty()) in OnBeforeURLRequest()
425 safe_search_util::ForceGoogleSafeSearch(request, new_url); in OnBeforeURLRequest()
/external/chromium_org/chrome/browser/renderer_host/
Dsafe_browsing_resource_throttle.cc57 void SafeBrowsingResourceThrottle::WillRedirectRequest(const GURL& new_url, in WillRedirectRequest() argument
63 redirect_urls_.push_back(new_url); in WillRedirectRequest()
66 if (CheckUrl(new_url)) in WillRedirectRequest()
/external/chromium_org/chrome/browser/extensions/
Dchrome_content_browser_client_extensions_part.h41 const GURL& new_url);
45 const GURL& new_url);
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_tab_helper.cc171 redirect_details->new_url); in Observe()
198 const GURL& new_url) { in OnRedirect() argument
206 tab_reloader_->OnRedirect(new_url.SchemeIsSecure()); in OnRedirect()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_internal_file_ref_backend.cc149 storage::FileSystemURL new_url = new_file_ref->GetFileSystemURL(); in Rename() local
150 if (!new_url.is_valid()) in Rename()
152 if (!new_url.IsInSameFileSystem(GetFileSystemURL())) in Rename()
157 new_url, in Rename()
/external/chromium_org/net/url_request/
Durl_request.cc651 GURL new_url; in BeforeRequestComplete() local
652 new_url.Swap(&delegate_redirect_url_); in BeforeRequestComplete()
655 this, network_delegate_, new_url, in BeforeRequestComplete()
829 this, network_delegate_, redirect_info.new_url); in NotifyReceivedRedirect()
964 &redirect_info.new_url.possibly_invalid_spec())); in Redirect()
969 network_delegate_->NotifyBeforeRedirect(this, redirect_info.new_url); in Redirect()
976 if (!redirect_info.new_url.is_valid()) in Redirect()
979 if (!job_->IsSafeRedirect(redirect_info.new_url)) { in Redirect()
1005 url_chain_.push_back(redirect_info.new_url); in Redirect()

12345