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

Side by Side Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 10823208: Reverting this as it causes browser tests on the Linux ChromiumOS builder to fail. (Closed) Base URL: svn://svn.chromium.org/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/profiles/off_the_record_profile_impl.h" 5 #include "chrome/browser/profiles/off_the_record_profile_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 FaviconService* OffTheRecordProfileImpl::GetFaviconService( 235 FaviconService* OffTheRecordProfileImpl::GetFaviconService(
236 ServiceAccessType sat) { 236 ServiceAccessType sat) {
237 if (sat == EXPLICIT_ACCESS) 237 if (sat == EXPLICIT_ACCESS)
238 return profile_->GetFaviconService(sat); 238 return profile_->GetFaviconService(sat);
239 239
240 NOTREACHED() << "This profile is OffTheRecord"; 240 NOTREACHED() << "This profile is OffTheRecord";
241 return NULL; 241 return NULL;
242 } 242 }
243 243
244 policy::UserCloudPolicyManager*
245 OffTheRecordProfileImpl::GetUserCloudPolicyManager() {
246 return profile_->GetUserCloudPolicyManager();
247 }
248
249 policy::PolicyService* OffTheRecordProfileImpl::GetPolicyService() { 244 policy::PolicyService* OffTheRecordProfileImpl::GetPolicyService() {
250 return profile_->GetPolicyService(); 245 return profile_->GetPolicyService();
251 } 246 }
252 247
253 PrefService* OffTheRecordProfileImpl::GetPrefs() { 248 PrefService* OffTheRecordProfileImpl::GetPrefs() {
254 return prefs_; 249 return prefs_;
255 } 250 }
256 251
257 PrefService* OffTheRecordProfileImpl::GetOffTheRecordPrefs() { 252 PrefService* OffTheRecordProfileImpl::GetOffTheRecordPrefs() {
258 return prefs_; 253 return prefs_;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 if (!profile) 482 if (!profile)
488 profile = new OffTheRecordProfileImpl(this); 483 profile = new OffTheRecordProfileImpl(this);
489 profile->Init(); 484 profile->Init();
490 return profile; 485 return profile;
491 } 486 }
492 487
493 base::Callback<ChromeURLDataManagerBackend*(void)> 488 base::Callback<ChromeURLDataManagerBackend*(void)>
494 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { 489 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const {
495 return io_data_.GetChromeURLDataManagerBackendGetter(); 490 return io_data_.GetChromeURLDataManagerBackendGetter();
496 } 491 }
OLDNEW
« 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