| 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..4244a253f71226bf99cdb564d84bb8188bf94b8f 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,15 @@ 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.
|
| + // This is used in testing to verify import startup actions that occur before
|
| + // an observer can be registered in the test.
|
| + static bool DidPerformProfileImport();
|
| +
|
| // Indicate that an import process will run for the next created Profile.
|
| void SetWillImport();
|
| bool will_import() { return will_import_; }
|
|
|