| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 VisitedLinkMaster* OffTheRecordProfileImpl::GetVisitedLinkMaster() { | 189 VisitedLinkMaster* OffTheRecordProfileImpl::GetVisitedLinkMaster() { |
| 190 // We don't provide access to the VisitedLinkMaster when we're OffTheRecord | 190 // We don't provide access to the VisitedLinkMaster when we're OffTheRecord |
| 191 // because we don't want to leak the sites that the user has visited before. | 191 // because we don't want to leak the sites that the user has visited before. |
| 192 return NULL; | 192 return NULL; |
| 193 } | 193 } |
| 194 | 194 |
| 195 ExtensionService* OffTheRecordProfileImpl::GetExtensionService() { | 195 ExtensionService* OffTheRecordProfileImpl::GetExtensionService() { |
| 196 return extensions::ExtensionSystem::Get(this)->extension_service(); | 196 return extensions::ExtensionSystem::Get(this)->extension_service(); |
| 197 } | 197 } |
| 198 | 198 |
| 199 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 ExtensionEventRouter* OffTheRecordProfileImpl::GetExtensionEventRouter() { |
| 209 return extensions::ExtensionSystem::Get(this)->event_router(); | 209 return extensions::ExtensionSystem::Get(this)->event_router(); |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 if (!profile) | 485 if (!profile) |
| 486 profile = new OffTheRecordProfileImpl(this); | 486 profile = new OffTheRecordProfileImpl(this); |
| 487 profile->Init(); | 487 profile->Init(); |
| 488 return profile; | 488 return profile; |
| 489 } | 489 } |
| 490 | 490 |
| 491 base::Callback<ChromeURLDataManagerBackend*(void)> | 491 base::Callback<ChromeURLDataManagerBackend*(void)> |
| 492 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { | 492 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { |
| 493 return io_data_.GetChromeURLDataManagerBackendGetter(); | 493 return io_data_.GetChromeURLDataManagerBackendGetter(); |
| 494 } | 494 } |
| OLD | NEW |