| 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" |
| 11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
| 14 #include "base/string_number_conversions.h" | 14 #include "base/string_number_conversions.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 17 #include "chrome/browser/background/background_contents_service_factory.h" | 17 #include "chrome/browser/background/background_contents_service_factory.h" |
| 18 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
| 19 #include "chrome/browser/chrome_plugin_service_filter.h" | 19 #include "chrome/browser/chrome_plugin_service_filter.h" |
| 20 #include "chrome/browser/content_settings/host_content_settings_map.h" | 20 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 21 #include "chrome/browser/download/chrome_download_manager_delegate.h" |
| 21 #include "chrome/browser/download/download_service.h" | 22 #include "chrome/browser/download/download_service.h" |
| 22 #include "chrome/browser/download/download_service_factory.h" | 23 #include "chrome/browser/download/download_service_factory.h" |
| 23 #include "chrome/browser/extensions/api/web_request/web_request_api.h" | 24 #include "chrome/browser/extensions/api/web_request/web_request_api.h" |
| 24 #include "chrome/browser/extensions/extension_info_map.h" | 25 #include "chrome/browser/extensions/extension_info_map.h" |
| 25 #include "chrome/browser/extensions/extension_pref_store.h" | 26 #include "chrome/browser/extensions/extension_pref_store.h" |
| 26 #include "chrome/browser/extensions/extension_process_manager.h" | 27 #include "chrome/browser/extensions/extension_process_manager.h" |
| 27 #include "chrome/browser/extensions/extension_service.h" | 28 #include "chrome/browser/extensions/extension_service.h" |
| 28 #include "chrome/browser/extensions/extension_special_storage_policy.h" | 29 #include "chrome/browser/extensions/extension_special_storage_policy.h" |
| 29 #include "chrome/browser/extensions/extension_system.h" | 30 #include "chrome/browser/extensions/extension_system.h" |
| 30 #include "chrome/browser/io_thread.h" | 31 #include "chrome/browser/io_thread.h" |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 if (!profile) | 482 if (!profile) |
| 482 profile = new OffTheRecordProfileImpl(this); | 483 profile = new OffTheRecordProfileImpl(this); |
| 483 profile->Init(); | 484 profile->Init(); |
| 484 return profile; | 485 return profile; |
| 485 } | 486 } |
| 486 | 487 |
| 487 base::Callback<ChromeURLDataManagerBackend*(void)> | 488 base::Callback<ChromeURLDataManagerBackend*(void)> |
| 488 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { | 489 OffTheRecordProfileImpl::GetChromeURLDataManagerBackendGetter() const { |
| 489 return io_data_.GetChromeURLDataManagerBackendGetter(); | 490 return io_data_.GetChromeURLDataManagerBackendGetter(); |
| 490 } | 491 } |
| OLD | NEW |