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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 12952005: Delay bookmarks load while the profile is loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix testing_profile.h Created 7 years, 9 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/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index 0951bf746fde81d02cc0978b0d54861093d04cb5..63737f5a87a5ef03a44dabd2868eaab7fd98eec4 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
+#include "base/deferred_sequenced_task_runner.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
@@ -196,6 +197,11 @@ OffTheRecordProfileImpl::GetIOTaskRunner() {
return profile_->GetIOTaskRunner();
}
+scoped_refptr<base::DeferredSequencedTaskRunner>
+OffTheRecordProfileImpl::GetBookmarksTaskRunner() {
+ return profile_->GetBookmarksTaskRunner();
+}
+
bool OffTheRecordProfileImpl::IsOffTheRecord() const {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698