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

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

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/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index a5ae599bc2d4e3664ff4db182443dc9c055fbfe4..d92f77f3d4946362df9afddee10ec05c703c7bdd 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -34,6 +34,7 @@ class TabContentsProvider;
}
namespace base {
+class DeferredSequencedTaskRunner;
class SequencedTaskRunner;
class Time;
}
@@ -164,6 +165,11 @@ class Profile : public content::BrowserContext {
// operations should be performed.
virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() = 0;
+ // Returns sequenced task runner where bookmarks I/O operations should be
+ // performed.
+ virtual scoped_refptr<base::DeferredSequencedTaskRunner>
+ GetBookmarksTaskRunner() = 0;
+
// Returns the name associated with this profile. This name is displayed in
// the browser frame.
virtual std::string GetProfileName() = 0;

Powered by Google App Engine
This is Rietveld 408576698