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

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

Issue 1857383002: Refactor net predictor to use ResourceThrottles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on #396550 Created 4 years, 6 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
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/callback.h" 8 #include "base/callback.h"
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 net::URLRequestContext* main_context, 192 net::URLRequestContext* main_context,
193 const StoragePartitionDescriptor& partition_descriptor, 193 const StoragePartitionDescriptor& partition_descriptor,
194 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> 194 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
195 protocol_handler_interceptor, 195 protocol_handler_interceptor,
196 content::ProtocolHandlerMap* protocol_handlers, 196 content::ProtocolHandlerMap* protocol_handlers,
197 content::URLRequestInterceptorScopedVector request_interceptors) 197 content::URLRequestInterceptorScopedVector request_interceptors)
198 const override; 198 const override;
199 net::URLRequestContext* AcquireIsolatedMediaRequestContext( 199 net::URLRequestContext* AcquireIsolatedMediaRequestContext(
200 net::URLRequestContext* app_context, 200 net::URLRequestContext* app_context,
201 const StoragePartitionDescriptor& partition_descriptor) const override; 201 const StoragePartitionDescriptor& partition_descriptor) const override;
202 chrome_browser_net::Predictor* GetPredictor() override;
202 203
203 // Deletes all network related data since |time|. It deletes transport 204 // Deletes all network related data since |time|. It deletes transport
204 // security state since |time| and also deletes HttpServerProperties data. 205 // security state since |time| and also deletes HttpServerProperties data.
205 // Works asynchronously, however if the |completion| callback is non-null, 206 // Works asynchronously, however if the |completion| callback is non-null,
206 // it will be posted on the UI thread once the removal process completes. 207 // it will be posted on the UI thread once the removal process completes.
207 void ClearNetworkingHistorySinceOnIOThread(base::Time time, 208 void ClearNetworkingHistorySinceOnIOThread(base::Time time,
208 const base::Closure& completion); 209 const base::Closure& completion);
209 210
210 mutable std::unique_ptr< 211 mutable std::unique_ptr<
211 data_reduction_proxy::DataReductionProxyNetworkDelegate> 212 data_reduction_proxy::DataReductionProxyNetworkDelegate>
(...skipping 30 matching lines...) Expand all
242 243
243 // Parameters needed for isolated apps. 244 // Parameters needed for isolated apps.
244 base::FilePath profile_path_; 245 base::FilePath profile_path_;
245 int app_cache_max_size_; 246 int app_cache_max_size_;
246 int app_media_cache_max_size_; 247 int app_media_cache_max_size_;
247 248
248 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 249 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
249 }; 250 };
250 251
251 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 252 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/predictor_browsertest.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698