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

Unified Diff: chrome/browser/profiles/profile_manager.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 comment. Created 7 years, 8 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/bookmarks/bookmark_model_factory.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager.h
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
index a93d457fc223f9fedaf2a049317e11eee5926ead..6cee37b8f0bab115b3188530f8497b38c21e1e5f 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -211,10 +211,14 @@ class ProfileManager : public base::NonThreadSafe,
// Autoloads profiles if they are running background apps.
void AutoloadProfiles();
- // Register and add testing profile to the ProfileManager. Use ONLY in tests.
+ // Registers and adds testing profile to the ProfileManager.
// This allows the creation of Profiles outside of the standard creation path
- // for testing. If |addToCache|, add to ProfileInfoCache as well.
- void RegisterTestingProfile(Profile* profile, bool addToCache);
+ // for testing. If |addToCache|, adds to ProfileInfoCache as well.
+ // If |start_deferred_task_runners|, starts the deferred task runners.
+ // Use ONLY in tests.
+ void RegisterTestingProfile(Profile* profile,
+ bool addToCache,
+ bool start_deferred_task_runners);
const base::FilePath& user_data_dir() const { return user_data_dir_; }
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model_factory.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698