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 <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "chrome/browser/themes/theme_service.h" | 39 #include "chrome/browser/themes/theme_service.h" |
40 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h" | 40 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h" |
41 #include "chrome/browser/ui/zoom/chrome_zoom_level_otr_delegate.h" | 41 #include "chrome/browser/ui/zoom/chrome_zoom_level_otr_delegate.h" |
42 #include "chrome/common/chrome_constants.h" | 42 #include "chrome/common/chrome_constants.h" |
43 #include "chrome/common/chrome_paths.h" | 43 #include "chrome/common/chrome_paths.h" |
44 #include "chrome/common/chrome_switches.h" | 44 #include "chrome/common/chrome_switches.h" |
45 #include "components/content_settings/core/browser/host_content_settings_map.h" | 45 #include "components/content_settings/core/browser/host_content_settings_map.h" |
46 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 46 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
47 #include "components/prefs/json_pref_store.h" | 47 #include "components/prefs/json_pref_store.h" |
48 #include "components/proxy_config/pref_proxy_config_tracker.h" | 48 #include "components/proxy_config/pref_proxy_config_tracker.h" |
49 #include "components/syncable_prefs/pref_service_syncable.h" | 49 #include "components/sync_preferences/pref_service_syncable.h" |
50 #include "components/user_prefs/user_prefs.h" | 50 #include "components/user_prefs/user_prefs.h" |
51 #include "components/zoom/zoom_event_manager.h" | 51 #include "components/zoom/zoom_event_manager.h" |
52 #include "content/public/browser/browser_thread.h" | 52 #include "content/public/browser/browser_thread.h" |
53 #include "content/public/browser/host_zoom_map.h" | 53 #include "content/public/browser/host_zoom_map.h" |
54 #include "content/public/browser/render_process_host.h" | 54 #include "content/public/browser/render_process_host.h" |
55 #include "content/public/browser/storage_partition.h" | 55 #include "content/public/browser/storage_partition.h" |
56 #include "content/public/browser/url_data_source.h" | 56 #include "content/public/browser/url_data_source.h" |
57 #include "content/public/browser/web_contents.h" | 57 #include "content/public/browser/web_contents.h" |
58 #include "net/http/http_server_properties.h" | 58 #include "net/http/http_server_properties.h" |
59 #include "net/http/transport_security_state.h" | 59 #include "net/http/transport_security_state.h" |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 PrefProxyConfigTracker* OffTheRecordProfileImpl::CreateProxyConfigTracker() { | 551 PrefProxyConfigTracker* OffTheRecordProfileImpl::CreateProxyConfigTracker() { |
552 #if defined(OS_CHROMEOS) | 552 #if defined(OS_CHROMEOS) |
553 if (chromeos::ProfileHelper::IsSigninProfile(this)) { | 553 if (chromeos::ProfileHelper::IsSigninProfile(this)) { |
554 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( | 554 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( |
555 g_browser_process->local_state()); | 555 g_browser_process->local_state()); |
556 } | 556 } |
557 #endif // defined(OS_CHROMEOS) | 557 #endif // defined(OS_CHROMEOS) |
558 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( | 558 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( |
559 GetPrefs(), g_browser_process->local_state()); | 559 GetPrefs(), g_browser_process->local_state()); |
560 } | 560 } |
OLD | NEW |