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

Unified Diff: chrome/browser/profiles/profile_impl.h

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
Index: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 92086ede6ac9b85d298aaaf380f4ca059687955d..7cc5e4aa44c4507e0c7d6ae6da81dd67a03f823c 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -103,6 +103,7 @@ class ProfileImpl : public Profile,
virtual bool HasProfileSyncService() const;
virtual bool DidLastSessionExitCleanly();
virtual BookmarkModel* GetBookmarkModel();
+ virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
virtual bool IsSameProfile(Profile* profile);
virtual base::Time GetStartTime() const;
virtual TabRestoreService* GetTabRestoreService();
@@ -116,6 +117,7 @@ class ProfileImpl : public Profile,
virtual void MarkAsCleanShutdown();
virtual void InitExtensions();
virtual void InitPromoResources();
+ virtual void InitRegisteredProtocolHandlers();
virtual NTPResourceCache* GetNTPResourceCache();
virtual FilePath last_selected_directory();
virtual void set_last_selected_directory(const FilePath& path);
@@ -210,6 +212,7 @@ class ProfileImpl : public Profile,
scoped_ptr<TemplateURLModel> template_url_model_;
scoped_ptr<BookmarkModel> bookmark_bar_model_;
scoped_refptr<PromoResourceService> promo_resource_service_;
+ scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
scoped_ptr<NTPResourceCache> ntp_resource_cache_;
scoped_ptr<TokenService> token_service_;

Powered by Google App Engine
This is Rietveld 408576698