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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.h

Issue 7688006: Revert 97465 - Revert 97446 - Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl_io_data.h
===================================================================
--- chrome/browser/profiles/profile_impl_io_data.h (revision 97465)
+++ chrome/browser/profiles/profile_impl_io_data.h (working copy)
@@ -12,6 +12,10 @@
#include "base/memory/ref_counted.h"
#include "chrome/browser/profiles/profile_io_data.h"
+namespace chrome_browser_net {
+class Predictor;
+}
+
namespace net {
class HttpTransactionFactory;
} // namespace net
@@ -36,7 +40,10 @@
const FilePath& media_cache_path,
int media_cache_max_size,
const FilePath& extensions_cookie_path,
- const FilePath& app_path);
+ const FilePath& app_path,
+ chrome_browser_net::Predictor* predictor,
+ PrefService* local_state,
+ IOThread* io_thread);
base::Callback<ChromeURLDataManagerBackend*(void)>
GetChromeURLDataManagerBackendGetter() const;
@@ -127,6 +134,8 @@
mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_;
+ mutable scoped_ptr<chrome_browser_net::Predictor> predictor_;
+
// Parameters needed for isolated apps.
FilePath app_path_;
mutable bool clear_local_state_on_exit_;
« no previous file with comments | « chrome/browser/profiles/profile_impl.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