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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 extensions::UserScriptMaster* OffTheRecordProfileImpl::GetUserScriptMaster() { | 199 extensions::UserScriptMaster* OffTheRecordProfileImpl::GetUserScriptMaster() { |
200 return extensions::ExtensionSystem::Get(this)->user_script_master(); | 200 return extensions::ExtensionSystem::Get(this)->user_script_master(); |
201 } | 201 } |
202 | 202 |
203 ExtensionProcessManager* | 203 ExtensionProcessManager* |
204 OffTheRecordProfileImpl::GetExtensionProcessManager() { | 204 OffTheRecordProfileImpl::GetExtensionProcessManager() { |
205 return extensions::ExtensionSystem::Get(this)->process_manager(); | 205 return extensions::ExtensionSystem::Get(this)->process_manager(); |
206 } | 206 } |
207 | 207 |
208 ExtensionEventRouter* OffTheRecordProfileImpl::GetExtensionEventRouter() { | 208 extensions::EventRouter* OffTheRecordProfileImpl::GetExtensionEventRouter() { |
209 return extensions::ExtensionSystem::Get(this)->event_router(); | 209 return extensions::ExtensionSystem::Get(this)->event_router(); |
210 } | 210 } |
211 | 211 |
212 ExtensionSpecialStoragePolicy* | 212 ExtensionSpecialStoragePolicy* |
213 OffTheRecordProfileImpl::GetExtensionSpecialStoragePolicy() { | 213 OffTheRecordProfileImpl::GetExtensionSpecialStoragePolicy() { |
214 return GetOriginalProfile()->GetExtensionSpecialStoragePolicy(); | 214 return GetOriginalProfile()->GetExtensionSpecialStoragePolicy(); |
215 } | 215 } |
216 | 216 |
217 GAIAInfoUpdateService* OffTheRecordProfileImpl::GetGAIAInfoUpdateService() { | 217 GAIAInfoUpdateService* OffTheRecordProfileImpl::GetGAIAInfoUpdateService() { |
218 return NULL; | 218 return NULL; |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 if (!profile) | 481 if (!profile) |
482 profile = new OffTheRecordProfileImpl(this); | 482 profile = new OffTheRecordProfileImpl(this); |
483 profile->Init(); | 483 profile->Init(); |
484 return profile; | 484 return profile; |
485 } | 485 } |
486 | 486 |
487 base::Callback<ChromeURLDataManagerBackend*(void)> | 487 base::Callback<ChromeURLDataManagerBackend*(void)> |
488 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { | 488 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { |
489 return io_data_.GetChromeURLDataManagerBackendGetter(); | 489 return io_data_.GetChromeURLDataManagerBackendGetter(); |
490 } | 490 } |
OLD | NEW |