Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2317)

Unified Diff: content/browser/transition_browsertest.cc

Issue 481593002: Remove child/route parameters from ShouldBeginRequest and RequestBeginning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android build Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/transition_browsertest.cc
diff --git a/content/browser/transition_browsertest.cc b/content/browser/transition_browsertest.cc
index ff3203505a99589e5568d6a9426b7ccf66a818fe..ef56ae8ff5341fd3b9508545b88437804510ac0c 100644
--- a/content/browser/transition_browsertest.cc
+++ b/content/browser/transition_browsertest.cc
@@ -51,16 +51,12 @@ class TransitionBrowserTestObserver
ResourceContext* resource_context,
AppCacheService* appcache_service,
ResourceType resource_type,
- int child_id,
- int route_id,
ScopedVector<ResourceThrottle>* throttles) OVERRIDE {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
ShellResourceDispatcherHostDelegate::RequestBeginning(request,
resource_context,
appcache_service,
resource_type,
- child_id,
- route_id,
throttles);
request_ = request;
@@ -69,7 +65,7 @@ class TransitionBrowserTestObserver
if (is_transition_request_) {
TransitionRequestManager::GetInstance()->AddPendingTransitionRequestData(
- child_id, info->GetRenderFrameID(), "*", "", "");
+ info->GetChildID(), info->GetRenderFrameID(), "*", "", "");
}
}

Powered by Google App Engine
This is Rietveld 408576698