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

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

Issue 836583002: Add support for field trial group to relax missing via header bypass logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused include from aw_url_request_context_getter.cc 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/io_thread.cc ('k') | components/components_tests.gyp » ('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_impl_io_data.h" 5 #include "chrome/browser/profiles/profile_impl_io_data.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/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" 31 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
32 #include "chrome/browser/profiles/profile.h" 32 #include "chrome/browser/profiles/profile.h"
33 #include "chrome/common/chrome_constants.h" 33 #include "chrome/common/chrome_constants.h"
34 #include "chrome/common/chrome_switches.h" 34 #include "chrome/common/chrome_switches.h"
35 #include "chrome/common/pref_names.h" 35 #include "chrome/common/pref_names.h"
36 #include "chrome/common/url_constants.h" 36 #include "chrome/common/url_constants.h"
37 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_auth _request_handler.h" 37 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_auth _request_handler.h"
38 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf igurator.h" 38 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf igurator.h"
39 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_inte rceptor.h" 39 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_inte rceptor.h"
40 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h" 40 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h"
41 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prot ocol.h"
42 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_stat istics_prefs.h" 41 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_stat istics_prefs.h"
43 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_usag e_stats.h" 42 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_usag e_stats.h"
44 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h" 43 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
45 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_ names.h" 44 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_ names.h"
46 #include "components/domain_reliability/monitor.h" 45 #include "components/domain_reliability/monitor.h"
47 #include "content/public/browser/browser_thread.h" 46 #include "content/public/browser/browser_thread.h"
48 #include "content/public/browser/cookie_store_factory.h" 47 #include "content/public/browser/cookie_store_factory.h"
49 #include "content/public/browser/notification_service.h" 48 #include "content/public/browser/notification_service.h"
50 #include "content/public/browser/resource_context.h" 49 #include "content/public/browser/resource_context.h"
51 #include "content/public/browser/storage_partition.h" 50 #include "content/public/browser/storage_partition.h"
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 transport_security_state()->DeleteAllDynamicDataSince(time); 909 transport_security_state()->DeleteAllDynamicDataSince(time);
911 DCHECK(http_server_properties_manager_); 910 DCHECK(http_server_properties_manager_);
912 http_server_properties_manager_->Clear(completion); 911 http_server_properties_manager_->Clear(completion);
913 } 912 }
914 913
915 bool ProfileImplIOData::IsDataReductionProxyEnabled() const { 914 bool ProfileImplIOData::IsDataReductionProxyEnabled() const {
916 return data_reduction_proxy_enabled_.GetValue() || 915 return data_reduction_proxy_enabled_.GetValue() ||
917 base::CommandLine::ForCurrentProcess()->HasSwitch( 916 base::CommandLine::ForCurrentProcess()->HasSwitch(
918 data_reduction_proxy::switches::kEnableDataReductionProxy); 917 data_reduction_proxy::switches::kEnableDataReductionProxy);
919 } 918 }
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698