Index: chrome/browser/profiles/profile.cc |
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
index ac869eb64697d21df4fab9bf2c0b313e6654ba09..fc94df38bf6594559ceb6057bae9bdb7ca00d20a 100644 |
--- a/chrome/browser/profiles/profile.cc |
+++ b/chrome/browser/profiles/profile.cc |
@@ -475,6 +475,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( |
@@ -553,6 +557,10 @@ class OffTheRecordProfileImpl : public Profile, |
NOTREACHED(); |
} |
+ virtual void InitRegisteredProtocolHandlers() { |
+ NOTREACHED(); |
+ } |
+ |
virtual NTPResourceCache* GetNTPResourceCache() { |
// Just return the real profile resource cache. |
return profile_->GetNTPResourceCache(); |