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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_impl_io_data.h
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h
index bb7070509681247c68a226986f4da9590bd1937a..89197b5e396a9e6c615750f677f8b59d517602f7 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -35,20 +35,24 @@ class CookieStore;
class FtpTransactionFactory;
class HttpNetworkSession;
class HttpServerProperties;
class HttpServerPropertiesManager;
class HttpTransactionFactory;
class ProxyConfig;
class SdchManager;
class SdchOwner;
} // namespace net
+namespace previews {
+class PreviewsIOData;
+}
+
namespace storage {
class SpecialStoragePolicy;
} // namespace storage
class ProfileImplIOData : public ProfileIOData {
public:
class Handle {
public:
explicit Handle(Profile* profile);
~Handle();
@@ -232,19 +236,21 @@ class ProfileImplIOData : public ProfileIOData {
mutable std::unique_ptr<net::URLRequestJobFactory> main_job_factory_;
mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_;
mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
domain_reliability_monitor_;
mutable std::unique_ptr<net::SdchManager> sdch_manager_;
mutable std::unique_ptr<net::SdchOwner> sdch_policy_;
+ mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_;
+
// Parameters needed for isolated apps.
base::FilePath profile_path_;
int app_cache_max_size_;
int app_media_cache_max_size_;
DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
};
#endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698