Index: chrome/browser/first_run/first_run.h |
diff --git a/chrome/browser/first_run/first_run.h b/chrome/browser/first_run/first_run.h |
index c39191d2e7e65261d1e6c1f9b7df2d9ad4bf9c5c..0867b3ab288b8bb2824004e2677da519bb1fa7ef 100644 |
--- a/chrome/browser/first_run/first_run.h |
+++ b/chrome/browser/first_run/first_run.h |
@@ -143,6 +143,11 @@ void AutoImport(Profile* profile, |
// if |make_chrome_default|. This can pop the first run consent dialog on linux. |
void DoPostImportTasks(Profile* profile, bool make_chrome_default); |
+// 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. |
+bool DidPerformProfileImport(bool* exited_successfully); |
+ |
// Imports bookmarks and/or browser items (depending on platform support) |
// in this process. This function is paired with first_run::ImportSettings(). |
// This function might or might not show a visible UI depending on the |