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

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

Issue 684223003: Data Reduction Proxy Interstitials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments Created 6 years 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
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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 storage::SpecialStoragePolicy* special_storage_policy, 69 storage::SpecialStoragePolicy* special_storage_policy,
70 scoped_ptr<domain_reliability::DomainReliabilityMonitor> 70 scoped_ptr<domain_reliability::DomainReliabilityMonitor>
71 domain_reliability_monitor, 71 domain_reliability_monitor,
72 const base::Callback<void(bool)>& data_reduction_proxy_unavailable, 72 const base::Callback<void(bool)>& data_reduction_proxy_unavailable,
73 scoped_ptr<DataReductionProxyChromeConfigurator> 73 scoped_ptr<DataReductionProxyChromeConfigurator>
74 data_reduction_proxy_chrome_configurator, 74 data_reduction_proxy_chrome_configurator,
75 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> 75 scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
76 data_reduction_proxy_params, 76 data_reduction_proxy_params,
77 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs> 77 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>
78 data_reduction_proxy_statistics_prefs, 78 data_reduction_proxy_statistics_prefs,
79 #if defined(OS_ANDROID)
bengr 2014/12/17 00:30:19 Remove the #if defined.
megjablon 2014/12/23 02:18:03 We decided not to have a base class as discussed o
80 scoped_ptr<data_reduction_proxy::DataReductionProxyUIService>
bengr 2014/12/17 00:30:19 Forward declare.
megjablon 2014/12/23 02:18:03 Done.
81 data_reduction_proxy_ui_service,
82 #endif
79 scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore> 83 scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore>
80 data_reduction_proxy_event_store); 84 data_reduction_proxy_event_store);
81 85
82 // These Create*ContextGetter() functions are only exposed because the 86 // These Create*ContextGetter() functions are only exposed because the
83 // circular relationship between Profile, ProfileIOData::Handle, and the 87 // circular relationship between Profile, ProfileIOData::Handle, and the
84 // ChromeURLRequestContextGetter factories requires Profile be able to call 88 // ChromeURLRequestContextGetter factories requires Profile be able to call
85 // these functions. 89 // these functions.
86 scoped_refptr<ChromeURLRequestContextGetter> CreateMainRequestContextGetter( 90 scoped_refptr<ChromeURLRequestContextGetter> CreateMainRequestContextGetter(
87 content::ProtocolHandlerMap* protocol_handlers, 91 content::ProtocolHandlerMap* protocol_handlers,
88 content::URLRequestInterceptorScopedVector request_interceptors, 92 content::URLRequestInterceptorScopedVector request_interceptors,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 255
252 // Parameters needed for isolated apps. 256 // Parameters needed for isolated apps.
253 base::FilePath profile_path_; 257 base::FilePath profile_path_;
254 int app_cache_max_size_; 258 int app_cache_max_size_;
255 int app_media_cache_max_size_; 259 int app_media_cache_max_size_;
256 260
257 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 261 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
258 }; 262 };
259 263
260 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 264 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698