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

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

Issue 6410115: Adds navigator.registerProtocolHandler. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 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
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 83772f1a8ff5461f21f243e8220d095ae69ec15e..33df46f3c3c7c5f5d5c3087aaf69f641af4ec994 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -175,6 +175,7 @@ bool ProfileManager::AddProfile(Profile* profile, bool init_extensions) {
}
profiles_.insert(profiles_.end(), profile);
+ profile->InitRegisteredProtocolHandlers();
tony 2011/02/07 20:51:45 Can we do this Init in the Profile() constructor?
koz (OOO until 15th September) 2011/02/13 22:33:48 Yep, done.
if (init_extensions)
profile->InitExtensions();
const CommandLine& command_line = *CommandLine::ForCurrentProcess();

Powered by Google App Engine
This is Rietveld 408576698