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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper_unittest.cc

Issue 187223003: Allow content layer to pass ProtocolInterceptors when we create URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
index bb3b90d66c6d40ae09fd93df267f7c83a07a81b9..a785af16a91eadd47abce85774b6192b066a9137 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
+++ b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
@@ -97,7 +97,9 @@ class TestProfileIOData : public ProfileIOData {
// ProfileIOData overrides:
virtual void InitializeInternal(
ProfileParams* profile_params,
- content::ProtocolHandlerMap* protocol_handlers) const OVERRIDE {
+ content::ProtocolHandlerMap* protocol_handlers,
+ content::ProtocolHandlerScopedVector protocol_interceptors)
+ const OVERRIDE {
NOTREACHED();
}
virtual void InitializeExtensionsRequestContext(
@@ -109,7 +111,9 @@ class TestProfileIOData : public ProfileIOData {
const StoragePartitionDescriptor& details,
scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
protocol_handler_interceptor,
- content::ProtocolHandlerMap* protocol_handlers) const OVERRIDE {
+ content::ProtocolHandlerMap* protocol_handlers,
+ content::ProtocolHandlerScopedVector protocol_interceptors)
+ const OVERRIDE {
NOTREACHED();
return NULL;
}
@@ -124,13 +128,14 @@ class TestProfileIOData : public ProfileIOData {
NOTREACHED();
return NULL;
}
- virtual ChromeURLRequestContext*
- AcquireIsolatedAppRequestContext(
- ChromeURLRequestContext* main_context,
- const StoragePartitionDescriptor& partition_descriptor,
- scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
- protocol_handler_interceptor,
- content::ProtocolHandlerMap* protocol_handlers) const OVERRIDE {
+ virtual ChromeURLRequestContext* AcquireIsolatedAppRequestContext(
+ ChromeURLRequestContext* main_context,
+ const StoragePartitionDescriptor& partition_descriptor,
+ scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
+ protocol_handler_interceptor,
+ content::ProtocolHandlerMap* protocol_handlers,
+ content::ProtocolHandlerScopedVector protocol_interceptors)
+ const OVERRIDE {
NOTREACHED();
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698