Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: chrome/browser/profiles/profile_io_data.cc

Issue 792803007: Make Data Reduction Proxy a best effort proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated tests Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 void ProfileIOData::SetCookieSettingsForTesting( 1330 void ProfileIOData::SetCookieSettingsForTesting(
1334 CookieSettings* cookie_settings) { 1331 CookieSettings* cookie_settings) {
1335 DCHECK(!cookie_settings_.get()); 1332 DCHECK(!cookie_settings_.get());
1336 cookie_settings_ = cookie_settings; 1333 cookie_settings_ = cookie_settings;
1337 } 1334 }
1338 1335
1339 void ProfileIOData::set_signin_names_for_testing( 1336 void ProfileIOData::set_signin_names_for_testing(
1340 SigninNamesOnIOThread* signin_names) { 1337 SigninNamesOnIOThread* signin_names) {
1341 signin_names_.reset(signin_names); 1338 signin_names_.reset(signin_names);
1342 } 1339 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698