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

Unified Diff: chrome/browser/predictors/predictor_database.cc

Issue 10825188: Add comment explaining fix and added explicit HistoryService dependency in predictor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | chrome/browser/predictors/resource_prefetch_predictor_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/predictors/predictor_database.cc
diff --git a/chrome/browser/predictors/predictor_database.cc b/chrome/browser/predictors/predictor_database.cc
index b734c294db4d1f01f5a36ae9fac97941a0c1f79e..af6bacb857c8b0900e45c52df64775e9602da0a8 100644
--- a/chrome/browser/predictors/predictor_database.cc
+++ b/chrome/browser/predictors/predictor_database.cc
@@ -70,7 +70,6 @@ PredictorDatabaseInternal::~PredictorDatabaseInternal() {
void PredictorDatabaseInternal::Initialize() {
CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::DB));
-
db_.set_exclusive_locking();
bool success = db_.Open(db_path_);
« no previous file with comments | « no previous file | chrome/browser/predictors/resource_prefetch_predictor_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698