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

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

Issue 10795056: Remove last references to profile->GetHistory() and profile->GetBookmarkModel() (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/off_the_record_profile_impl.h ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/off_the_record_profile_impl.cc
===================================================================
--- chrome/browser/profiles/off_the_record_profile_impl.cc (revision 150466)
+++ chrome/browser/profiles/off_the_record_profile_impl.cc (working copy)
@@ -219,19 +219,6 @@
return NULL;
}
-HistoryService* OffTheRecordProfileImpl::GetHistoryService(
- ServiceAccessType sat) {
- if (sat == EXPLICIT_ACCESS)
- return profile_->GetHistoryService(sat);
-
- NOTREACHED() << "This profile is OffTheRecord";
- return NULL;
-}
-
-HistoryService* OffTheRecordProfileImpl::GetHistoryServiceWithoutCreating() {
- return profile_->GetHistoryServiceWithoutCreating();
-}
-
FaviconService* OffTheRecordProfileImpl::GetFaviconService(
ServiceAccessType sat) {
if (sat == EXPLICIT_ACCESS)
@@ -350,10 +337,6 @@
return GetExtensionSpecialStoragePolicy();
}
-BookmarkModel* OffTheRecordProfileImpl::GetBookmarkModel() {
- return profile_->GetBookmarkModel();
-}
-
ProtocolHandlerRegistry* OffTheRecordProfileImpl::GetProtocolHandlerRegistry() {
return profile_->GetProtocolHandlerRegistry();
}
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.h ('k') | chrome/browser/profiles/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698