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

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

Issue 2388253002: Use the previews black list for offline previews (Closed)
Patch Set: mmenke comments Created 4 years, 2 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 24 matching lines...) Expand all
35 class FtpTransactionFactory; 35 class FtpTransactionFactory;
36 class HttpNetworkSession; 36 class HttpNetworkSession;
37 class HttpServerProperties; 37 class HttpServerProperties;
38 class HttpServerPropertiesManager; 38 class HttpServerPropertiesManager;
39 class HttpTransactionFactory; 39 class HttpTransactionFactory;
40 class ProxyConfig; 40 class ProxyConfig;
41 class SdchManager; 41 class SdchManager;
42 class SdchOwner; 42 class SdchOwner;
43 } // namespace net 43 } // namespace net
44 44
45 namespace previews {
46 class PreviewsIOData;
47 }
48
45 namespace storage { 49 namespace storage {
46 class SpecialStoragePolicy; 50 class SpecialStoragePolicy;
47 } // namespace storage 51 } // namespace storage
48 52
49 class ProfileImplIOData : public ProfileIOData { 53 class ProfileImplIOData : public ProfileIOData {
50 public: 54 public:
51 class Handle { 55 class Handle {
52 public: 56 public:
53 explicit Handle(Profile* profile); 57 explicit Handle(Profile* profile);
54 ~Handle(); 58 ~Handle();
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 236
233 mutable std::unique_ptr<net::URLRequestJobFactory> main_job_factory_; 237 mutable std::unique_ptr<net::URLRequestJobFactory> main_job_factory_;
234 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_; 238 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_;
235 239
236 mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor> 240 mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
237 domain_reliability_monitor_; 241 domain_reliability_monitor_;
238 242
239 mutable std::unique_ptr<net::SdchManager> sdch_manager_; 243 mutable std::unique_ptr<net::SdchManager> sdch_manager_;
240 mutable std::unique_ptr<net::SdchOwner> sdch_policy_; 244 mutable std::unique_ptr<net::SdchOwner> sdch_policy_;
241 245
246 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_;
247
242 // Parameters needed for isolated apps. 248 // Parameters needed for isolated apps.
243 base::FilePath profile_path_; 249 base::FilePath profile_path_;
244 int app_cache_max_size_; 250 int app_cache_max_size_;
245 int app_media_cache_max_size_; 251 int app_media_cache_max_size_;
246 252
247 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 253 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
248 }; 254 };
249 255
250 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 256 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698