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

Side by Side Diff: chrome/browser/profile.cc

Issue 5213002: Fix for Bug 50726 "Save extension list and "winning" prefs from extensions" (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressed Mattias' comments Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/profile.h" 5 #include "chrome/browser/profile.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 return profile_->GetPasswordStore(sat); 299 return profile_->GetPasswordStore(sat);
300 300
301 NOTREACHED() << "This profile is OffTheRecord"; 301 NOTREACHED() << "This profile is OffTheRecord";
302 return NULL; 302 return NULL;
303 } 303 }
304 304
305 virtual PrefService* GetPrefs() { 305 virtual PrefService* GetPrefs() {
306 return profile_->GetPrefs(); 306 return profile_->GetPrefs();
307 } 307 }
308 308
309 virtual PrefStore* GetExtensionPrefStore() {
310 return profile_->GetExtensionPrefStore();
311 }
312
313 virtual void SetExtensionPrefStore(PrefStore* ext_pref_store) {
314 return profile_->SetExtensionPrefStore(ext_pref_store);
315 }
316
309 virtual TemplateURLModel* GetTemplateURLModel() { 317 virtual TemplateURLModel* GetTemplateURLModel() {
310 return profile_->GetTemplateURLModel(); 318 return profile_->GetTemplateURLModel();
311 } 319 }
312 320
313 virtual TemplateURLFetcher* GetTemplateURLFetcher() { 321 virtual TemplateURLFetcher* GetTemplateURLFetcher() {
314 return profile_->GetTemplateURLFetcher(); 322 return profile_->GetTemplateURLFetcher();
315 } 323 }
316 324
317 virtual DownloadManager* GetDownloadManager() { 325 virtual DownloadManager* GetDownloadManager() {
318 if (!download_manager_.get()) { 326 if (!download_manager_.get()) {
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 662
655 // The file_system context for this profile. 663 // The file_system context for this profile.
656 scoped_refptr<BrowserFileSystemContext> browser_file_system_context_; 664 scoped_refptr<BrowserFileSystemContext> browser_file_system_context_;
657 665
658 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 666 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
659 }; 667 };
660 668
661 Profile* Profile::CreateOffTheRecordProfile() { 669 Profile* Profile::CreateOffTheRecordProfile() {
662 return new OffTheRecordProfileImpl(this); 670 return new OffTheRecordProfileImpl(this);
663 } 671 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698