Index: chrome/browser/profiles/profile.cc |
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
index 52944ffb95caf75c25adad5586acf52082eb6e25..0443d9c0ea624d99262d4221e7e90aa80b0ccc42 100644 |
--- a/chrome/browser/profiles/profile.cc |
+++ b/chrome/browser/profiles/profile.cc |
@@ -487,6 +487,10 @@ class OffTheRecordProfileImpl : public Profile, |
return profile_->GetBookmarkModel(); |
} |
+ virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() { |
+ return profile_->GetProtocolHandlerRegistry(); |
+ } |
+ |
virtual DesktopNotificationService* GetDesktopNotificationService() { |
if (!desktop_notification_service_.get()) { |
desktop_notification_service_.reset(new DesktopNotificationService( |
@@ -565,6 +569,10 @@ class OffTheRecordProfileImpl : public Profile, |
NOTREACHED(); |
} |
+ virtual void InitRegisteredProtocolHandlers() { |
+ NOTREACHED(); |
+ } |
+ |
virtual NTPResourceCache* GetNTPResourceCache() { |
// Just return the real profile resource cache. |
return profile_->GetNTPResourceCache(); |