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

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

Issue 7967024: Profile shouldn't own PersonalDataManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addresses isherman #11 Created 9 years, 3 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
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index 49abd4df376c12cdb14d1dcf0e9c6c76557d9010..8812a278b7555ea139b0ab17e563ce88ff4bc1da 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -338,10 +338,6 @@ bool OffTheRecordProfileImpl::HasCreatedDownloadManager() const {
return download_manager_.get() != NULL;
}
-PersonalDataManager* OffTheRecordProfileImpl::GetPersonalDataManager() {
- return NULL;
-}
-
fileapi::FileSystemContext* OffTheRecordProfileImpl::GetFileSystemContext() {
CreateQuotaManagerAndClients();
return file_system_context_.get();
@@ -670,10 +666,6 @@ class GuestSessionProfile : public OffTheRecordProfileImpl {
: OffTheRecordProfileImpl(real_profile) {
}
- virtual PersonalDataManager* GetPersonalDataManager() {
- return GetOriginalProfile()->GetPersonalDataManager();
- }
-
virtual void InitChromeOSPreferences() {
chromeos_preferences_.reset(new chromeos::Preferences());
chromeos_preferences_->Init(GetPrefs());
« 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