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

Unified Diff: chrome/browser/bookmarks/bookmark_model.cc

Issue 11027070: Moved JsonPrefStore to use SequencedWorkerPool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/bookmarks/bookmark_model.cc
diff --git a/chrome/browser/bookmarks/bookmark_model.cc b/chrome/browser/bookmarks/bookmark_model.cc
index c3d0f6b7b2795df29fd7e4af6a78eb894541a878..e0ccaaf8693e5c810ae261ee90867b0ee9dc5b5e 100644
--- a/chrome/browser/bookmarks/bookmark_model.cc
+++ b/chrome/browser/bookmarks/bookmark_model.cc
@@ -11,6 +11,7 @@
#include "base/bind_helpers.h"
#include "base/json/json_string_value_serializer.h"
#include "base/memory/scoped_vector.h"
+#include "base/sequenced_task_runner.h"
#include "base/string_util.h"
#include "base/values.h"
#include "build/build_config.h"
@@ -247,7 +248,7 @@ void BookmarkModel::Load() {
content::Source<Profile>(profile_));
// Load the bookmarks. BookmarkStorage notifies us when done.
- store_ = new BookmarkStorage(profile_, this);
+ store_ = new BookmarkStorage(profile_, this, profile_->GetIOTaskRunner());
store_->LoadBookmarks(CreateLoadDetails());
}

Powered by Google App Engine
This is Rietveld 408576698