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

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

Issue 11620012: [Profiles, Fixit] Making GAIAInfoUpdateService into a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing RegisterUserPrefs Created 8 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) 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 ExtensionService* OffTheRecordProfileImpl::GetExtensionService() { 219 ExtensionService* OffTheRecordProfileImpl::GetExtensionService() {
220 return extensions::ExtensionSystem::Get(this)->extension_service(); 220 return extensions::ExtensionSystem::Get(this)->extension_service();
221 } 221 }
222 222
223 ExtensionSpecialStoragePolicy* 223 ExtensionSpecialStoragePolicy*
224 OffTheRecordProfileImpl::GetExtensionSpecialStoragePolicy() { 224 OffTheRecordProfileImpl::GetExtensionSpecialStoragePolicy() {
225 return GetOriginalProfile()->GetExtensionSpecialStoragePolicy(); 225 return GetOriginalProfile()->GetExtensionSpecialStoragePolicy();
226 } 226 }
227 227
228 GAIAInfoUpdateService* OffTheRecordProfileImpl::GetGAIAInfoUpdateService() {
229 return NULL;
230 }
231
232 policy::ManagedModePolicyProvider* 228 policy::ManagedModePolicyProvider*
233 OffTheRecordProfileImpl::GetManagedModePolicyProvider() { 229 OffTheRecordProfileImpl::GetManagedModePolicyProvider() {
234 return profile_->GetManagedModePolicyProvider(); 230 return profile_->GetManagedModePolicyProvider();
235 } 231 }
236 232
237 policy::PolicyService* OffTheRecordProfileImpl::GetPolicyService() { 233 policy::PolicyService* OffTheRecordProfileImpl::GetPolicyService() {
238 return profile_->GetPolicyService(); 234 return profile_->GetPolicyService();
239 } 235 }
240 236
241 PrefService* OffTheRecordProfileImpl::GetPrefs() { 237 PrefService* OffTheRecordProfileImpl::GetPrefs() {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 if (!profile) 474 if (!profile)
479 profile = new OffTheRecordProfileImpl(this); 475 profile = new OffTheRecordProfileImpl(this);
480 profile->Init(); 476 profile->Init();
481 return profile; 477 return profile;
482 } 478 }
483 479
484 base::Callback<ChromeURLDataManagerBackend*(void)> 480 base::Callback<ChromeURLDataManagerBackend*(void)>
485 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { 481 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const {
486 return io_data_.GetChromeURLDataManagerBackendGetter(); 482 return io_data_.GetChromeURLDataManagerBackendGetter();
487 } 483 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698