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_; } |