diff options
Diffstat (limited to 'chrome/browser/profiles/off_the_record_profile_impl.cc')
-rw-r--r-- | chrome/browser/profiles/off_the_record_profile_impl.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc index 533c192..04550c7 100644 --- a/chrome/browser/profiles/off_the_record_profile_impl.cc +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc @@ -246,6 +246,19 @@ history::ShortcutsBackend* OffTheRecordProfileImpl::GetShortcutsBackend() { return NULL; } +WebDataService* OffTheRecordProfileImpl::GetWebDataService( + ServiceAccessType sat) { + if (sat == EXPLICIT_ACCESS) + return profile_->GetWebDataService(sat); + + NOTREACHED() << "This profile is OffTheRecord"; + return NULL; +} + +WebDataService* OffTheRecordProfileImpl::GetWebDataServiceWithoutCreating() { + return profile_->GetWebDataServiceWithoutCreating(); +} + PrefService* OffTheRecordProfileImpl::GetPrefs() { return prefs_; } |