| 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 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() { | 228 GAIAInfoUpdateService* OffTheRecordProfileImpl::GetGAIAInfoUpdateService() { |
| 229 return NULL; | 229 return NULL; |
| 230 } | 230 } |
| 231 | 231 |
| 232 policy::UserCloudPolicyManager* | |
| 233 OffTheRecordProfileImpl::GetUserCloudPolicyManager() { | |
| 234 return profile_->GetUserCloudPolicyManager(); | |
| 235 } | |
| 236 | |
| 237 policy::ManagedModePolicyProvider* | 232 policy::ManagedModePolicyProvider* |
| 238 OffTheRecordProfileImpl::GetManagedModePolicyProvider() { | 233 OffTheRecordProfileImpl::GetManagedModePolicyProvider() { |
| 239 return profile_->GetManagedModePolicyProvider(); | 234 return profile_->GetManagedModePolicyProvider(); |
| 240 } | 235 } |
| 241 | 236 |
| 242 policy::PolicyService* OffTheRecordProfileImpl::GetPolicyService() { | 237 policy::PolicyService* OffTheRecordProfileImpl::GetPolicyService() { |
| 243 return profile_->GetPolicyService(); | 238 return profile_->GetPolicyService(); |
| 244 } | 239 } |
| 245 | 240 |
| 246 PrefService* OffTheRecordProfileImpl::GetPrefs() { | 241 PrefService* OffTheRecordProfileImpl::GetPrefs() { |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 if (!profile) | 478 if (!profile) |
| 484 profile = new OffTheRecordProfileImpl(this); | 479 profile = new OffTheRecordProfileImpl(this); |
| 485 profile->Init(); | 480 profile->Init(); |
| 486 return profile; | 481 return profile; |
| 487 } | 482 } |
| 488 | 483 |
| 489 base::Callback<ChromeURLDataManagerBackend*(void)> | 484 base::Callback<ChromeURLDataManagerBackend*(void)> |
| 490 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { | 485 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { |
| 491 return io_data_.GetChromeURLDataManagerBackendGetter(); | 486 return io_data_.GetChromeURLDataManagerBackendGetter(); |
| 492 } | 487 } |
| OLD | NEW |