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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 6410115: Adds navigator.registerProtocolHandler. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Sync'd, disallow non-same origin rph, adds hostname to the infobar. Created 9 years, 10 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
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 4926d689e8cf33f8f2c77f055cb79ef5de36dcef..65de0563225aa9a3322aeb874ff4b331859dbfca 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -169,6 +169,7 @@ void ProfileIOData::InitializeProfileParams(Profile* profile,
params->extension_info_map = profile->GetExtensionInfoMap();
params->extension_io_event_router = profile->GetExtensionIOEventRouter();
params->prerender_manager = profile->GetPrerenderManager();
+ params->protocol_handler_registry = profile->GetProtocolHandlerRegistry();
params->proxy_config_service.reset(CreateProxyConfigService(profile));
}
@@ -255,6 +256,7 @@ void ProfileIOData::ApplyProfileParamsToContext(
context->set_extension_io_event_router(
profile_params.extension_io_event_router);
context->set_prerender_manager(profile_params.prerender_manager);
+ context->set_protocol_handler_registry(profile_params.protocol_handler_registry);
tony 2011/02/22 17:52:08 Nit: 80 cols
}
// static
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698