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

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

Issue 11572036: Do not load extension system in the Profile import process. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: cleanups Created 8 years 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_manager.h
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
index 0c01e33f0ae0fb2236d73e46658897fe6b47f865..26a2479a53e0178b7b4b8d91bce7758270abab60 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -26,6 +26,7 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+class CommandLine;
class NewProfileLauncher;
class ProfileInfoCache;
@@ -118,6 +119,13 @@ class ProfileManager : public base::NonThreadSafe,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ // Returns true if the given command line indicates that this is a short-lived
+ // profile import process.
+ static bool IsImportProcess(const CommandLine& command_line);
+
+ // Whether a first-run import was triggered before the browser mainloop began.
+ static bool DidPerformProfileImport();
Yoyo Zhou 2012/12/15 02:00:23 This looks like it's only used in tests; I would a
tapted 2012/12/17 05:40:39 Done.
+
// Indicate that an import process will run for the next created Profile.
void SetWillImport();
bool will_import() { return will_import_; }

Powered by Google App Engine
This is Rietveld 408576698