| 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/profile_io_data.h" | 5 #include "chrome/browser/profiles/profile_io_data.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "chrome/browser/media/media_device_id_salt.h" | 36 #include "chrome/browser/media/media_device_id_salt.h" |
| 37 #include "chrome/browser/net/about_protocol_handler.h" | 37 #include "chrome/browser/net/about_protocol_handler.h" |
| 38 #include "chrome/browser/net/chrome_fraudulent_certificate_reporter.h" | 38 #include "chrome/browser/net/chrome_fraudulent_certificate_reporter.h" |
| 39 #include "chrome/browser/net/chrome_http_user_agent_settings.h" | 39 #include "chrome/browser/net/chrome_http_user_agent_settings.h" |
| 40 #include "chrome/browser/net/chrome_net_log.h" | 40 #include "chrome/browser/net/chrome_net_log.h" |
| 41 #include "chrome/browser/net/chrome_network_delegate.h" | 41 #include "chrome/browser/net/chrome_network_delegate.h" |
| 42 #include "chrome/browser/net/chrome_url_request_context_getter.h" | 42 #include "chrome/browser/net/chrome_url_request_context_getter.h" |
| 43 #include "chrome/browser/net/cookie_store_util.h" | 43 #include "chrome/browser/net/cookie_store_util.h" |
| 44 #include "chrome/browser/net/proxy_service_factory.h" | 44 #include "chrome/browser/net/proxy_service_factory.h" |
| 45 #include "chrome/browser/net/resource_prefetch_predictor_observer.h" | 45 #include "chrome/browser/net/resource_prefetch_predictor_observer.h" |
| 46 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.
h" | |
| 47 #include "chrome/browser/predictors/resource_prefetch_predictor.h" | 46 #include "chrome/browser/predictors/resource_prefetch_predictor.h" |
| 48 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" | 47 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" |
| 49 #include "chrome/browser/profiles/profile.h" | 48 #include "chrome/browser/profiles/profile.h" |
| 50 #include "chrome/browser/profiles/profile_manager.h" | 49 #include "chrome/browser/profiles/profile_manager.h" |
| 51 #include "chrome/browser/signin/signin_names_io_thread.h" | 50 #include "chrome/browser/signin/signin_names_io_thread.h" |
| 52 #include "chrome/common/chrome_paths.h" | 51 #include "chrome/common/chrome_paths.h" |
| 53 #include "chrome/common/chrome_switches.h" | 52 #include "chrome/common/chrome_switches.h" |
| 54 #include "chrome/common/pref_names.h" | 53 #include "chrome/common/pref_names.h" |
| 55 #include "chrome/common/url_constants.h" | 54 #include "chrome/common/url_constants.h" |
| 56 #include "components/content_settings/core/browser/content_settings_provider.h" | 55 #include "components/content_settings/core/browser/content_settings_provider.h" |
| 57 #include "components/content_settings/core/browser/host_content_settings_map.h" | 56 #include "components/content_settings/core/browser/host_content_settings_map.h" |
| 58 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_service.h" | |
| 59 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
igurator.h" | |
| 60 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw
ork_delegate.h" | 57 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw
ork_delegate.h" |
| 61 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" | 58 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" |
| 62 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" | 59 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc
hes.h" |
| 63 #include "components/dom_distiller/core/url_constants.h" | 60 #include "components/dom_distiller/core/url_constants.h" |
| 64 #include "components/startup_metric_utils/startup_metric_utils.h" | 61 #include "components/startup_metric_utils/startup_metric_utils.h" |
| 65 #include "components/sync_driver/pref_names.h" | 62 #include "components/sync_driver/pref_names.h" |
| 66 #include "components/url_fixer/url_fixer.h" | 63 #include "components/url_fixer/url_fixer.h" |
| 67 #include "content/public/browser/browser_thread.h" | 64 #include "content/public/browser/browser_thread.h" |
| 68 #include "content/public/browser/host_zoom_map.h" | 65 #include "content/public/browser/host_zoom_map.h" |
| 69 #include "content/public/browser/notification_service.h" | 66 #include "content/public/browser/notification_service.h" |
| (...skipping 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1341 void ProfileIOData::SetCookieSettingsForTesting( | 1338 void ProfileIOData::SetCookieSettingsForTesting( |
| 1342 CookieSettings* cookie_settings) { | 1339 CookieSettings* cookie_settings) { |
| 1343 DCHECK(!cookie_settings_.get()); | 1340 DCHECK(!cookie_settings_.get()); |
| 1344 cookie_settings_ = cookie_settings; | 1341 cookie_settings_ = cookie_settings; |
| 1345 } | 1342 } |
| 1346 | 1343 |
| 1347 void ProfileIOData::set_signin_names_for_testing( | 1344 void ProfileIOData::set_signin_names_for_testing( |
| 1348 SigninNamesOnIOThread* signin_names) { | 1345 SigninNamesOnIOThread* signin_names) { |
| 1349 signin_names_.reset(signin_names); | 1346 signin_names_.reset(signin_names); |
| 1350 } | 1347 } |
| OLD | NEW |