| 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/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 41 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 42 #include "components/user_prefs/user_prefs.h" | 42 #include "components/user_prefs/user_prefs.h" |
| 43 #include "content/public/browser/browser_thread.h" | 43 #include "content/public/browser/browser_thread.h" |
| 44 #include "content/public/browser/host_zoom_map.h" | 44 #include "content/public/browser/host_zoom_map.h" |
| 45 #include "content/public/browser/render_process_host.h" | 45 #include "content/public/browser/render_process_host.h" |
| 46 #include "content/public/browser/storage_partition.h" | 46 #include "content/public/browser/storage_partition.h" |
| 47 #include "content/public/browser/url_data_source.h" | 47 #include "content/public/browser/url_data_source.h" |
| 48 #include "content/public/browser/web_contents.h" | 48 #include "content/public/browser/web_contents.h" |
| 49 #include "net/http/http_server_properties.h" | 49 #include "net/http/http_server_properties.h" |
| 50 #include "net/http/transport_security_state.h" | 50 #include "net/http/transport_security_state.h" |
| 51 #include "webkit/browser/database/database_tracker.h" | 51 #include "storage/browser/database/database_tracker.h" |
| 52 | 52 |
| 53 #if defined(OS_ANDROID) | 53 #if defined(OS_ANDROID) |
| 54 #include "chrome/browser/media/protected_media_identifier_permission_context.h" | 54 #include "chrome/browser/media/protected_media_identifier_permission_context.h" |
| 55 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" | 55 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" |
| 56 #endif // defined(OS_ANDROID) | 56 #endif // defined(OS_ANDROID) |
| 57 | 57 |
| 58 #if defined(OS_ANDROID) || defined(OS_IOS) | 58 #if defined(OS_ANDROID) || defined(OS_IOS) |
| 59 #include "base/prefs/scoped_user_pref_update.h" | 59 #include "base/prefs/scoped_user_pref_update.h" |
| 60 #include "chrome/browser/prefs/proxy_prefs.h" | 60 #include "chrome/browser/prefs/proxy_prefs.h" |
| 61 #endif // defined(OS_ANDROID) || defined(OS_IOS) | 61 #endif // defined(OS_ANDROID) || defined(OS_IOS) |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 PrefProxyConfigTracker* OffTheRecordProfileImpl::CreateProxyConfigTracker() { | 532 PrefProxyConfigTracker* OffTheRecordProfileImpl::CreateProxyConfigTracker() { |
| 533 #if defined(OS_CHROMEOS) | 533 #if defined(OS_CHROMEOS) |
| 534 if (chromeos::ProfileHelper::IsSigninProfile(this)) { | 534 if (chromeos::ProfileHelper::IsSigninProfile(this)) { |
| 535 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( | 535 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( |
| 536 g_browser_process->local_state()); | 536 g_browser_process->local_state()); |
| 537 } | 537 } |
| 538 #endif // defined(OS_CHROMEOS) | 538 #endif // defined(OS_CHROMEOS) |
| 539 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( | 539 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( |
| 540 GetPrefs(), g_browser_process->local_state()); | 540 GetPrefs(), g_browser_process->local_state()); |
| 541 } | 541 } |
| OLD | NEW |