| OLD | NEW |
| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 222 |
| 223 ExtensionService* OffTheRecordProfileImpl::GetExtensionService() { | 223 ExtensionService* OffTheRecordProfileImpl::GetExtensionService() { |
| 224 return extensions::ExtensionSystem::Get(this)->extension_service(); | 224 return extensions::ExtensionSystem::Get(this)->extension_service(); |
| 225 } | 225 } |
| 226 | 226 |
| 227 ExtensionSpecialStoragePolicy* | 227 ExtensionSpecialStoragePolicy* |
| 228 OffTheRecordProfileImpl::GetExtensionSpecialStoragePolicy() { | 228 OffTheRecordProfileImpl::GetExtensionSpecialStoragePolicy() { |
| 229 return GetOriginalProfile()->GetExtensionSpecialStoragePolicy(); | 229 return GetOriginalProfile()->GetExtensionSpecialStoragePolicy(); |
| 230 } | 230 } |
| 231 | 231 |
| 232 GAIAInfoUpdateService* OffTheRecordProfileImpl::GetGAIAInfoUpdateService() { | |
| 233 return NULL; | |
| 234 } | |
| 235 | |
| 236 policy::ManagedModePolicyProvider* | 232 policy::ManagedModePolicyProvider* |
| 237 OffTheRecordProfileImpl::GetManagedModePolicyProvider() { | 233 OffTheRecordProfileImpl::GetManagedModePolicyProvider() { |
| 238 return profile_->GetManagedModePolicyProvider(); | 234 return profile_->GetManagedModePolicyProvider(); |
| 239 } | 235 } |
| 240 | 236 |
| 241 policy::PolicyService* OffTheRecordProfileImpl::GetPolicyService() { | 237 policy::PolicyService* OffTheRecordProfileImpl::GetPolicyService() { |
| 242 return profile_->GetPolicyService(); | 238 return profile_->GetPolicyService(); |
| 243 } | 239 } |
| 244 | 240 |
| 245 PrefServiceSyncable* OffTheRecordProfileImpl::GetPrefs() { | 241 PrefServiceSyncable* OffTheRecordProfileImpl::GetPrefs() { |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 if (!profile) | 478 if (!profile) |
| 483 profile = new OffTheRecordProfileImpl(this); | 479 profile = new OffTheRecordProfileImpl(this); |
| 484 profile->Init(); | 480 profile->Init(); |
| 485 return profile; | 481 return profile; |
| 486 } | 482 } |
| 487 | 483 |
| 488 base::Callback<ChromeURLDataManagerBackend*(void)> | 484 base::Callback<ChromeURLDataManagerBackend*(void)> |
| 489 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { | 485 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { |
| 490 return io_data_.GetChromeURLDataManagerBackendGetter(); | 486 return io_data_.GetChromeURLDataManagerBackendGetter(); |
| 491 } | 487 } |
| OLD | NEW |