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

Unified Diff: chrome/browser/predictors/predictor_table_base.h

Issue 10416002: Seculative resource prefetching for URLs CL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resolving conflicts. Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/predictors/predictor_database.cc ('k') | chrome/browser/predictors/predictor_table_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/predictors/predictor_table_base.h
diff --git a/chrome/browser/predictors/predictor_table_base.h b/chrome/browser/predictors/predictor_table_base.h
index d9601f98ede8e1a63d49cd0dad82e0ba2cb161f6..de49954a6bf875185a12085e7824d7b9b06a4d98 100644
--- a/chrome/browser/predictors/predictor_table_base.h
+++ b/chrome/browser/predictors/predictor_table_base.h
@@ -29,14 +29,15 @@ class PredictorTableBase
virtual void CreateTableIfNonExistent() = 0;
virtual void LogDatabaseStats() = 0;
void Initialize(sql::Connection* db);
+ void SetCancelled();
sql::Connection* DB();
void ResetDB();
bool CantAccessDatabase();
+ private:
base::CancellationFlag cancelled_;
- private:
friend class base::RefCountedThreadSafe<PredictorTableBase>;
sql::Connection* db_;
« no previous file with comments | « chrome/browser/predictors/predictor_database.cc ('k') | chrome/browser/predictors/predictor_table_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698