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

Unified Diff: chrome/browser/first_run/first_run_win.cc

Issue 10539169: Prototype version of the first-run dialog for Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed up a comment. Created 8 years, 6 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
Index: chrome/browser/first_run/first_run_win.cc
diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc
index eb64d8cdbdfdd3939e8613aa874e9384bb8807f3..906f0ec7cd38f2ed9ef7c82055ea1d6514c84db3 100644
--- a/chrome/browser/first_run/first_run_win.cc
+++ b/chrome/browser/first_run/first_run_win.cc
@@ -28,6 +28,8 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/process_singleton.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/shell_integration.h"
+#include "chrome/browser/ui/startup/default_browser_prompt.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_result_codes.h"
@@ -548,6 +550,7 @@ void AutoImport(
process_singleton->Unlock();
CreateSentinel();
#endif // !defined(USE_AURA)
+ browser::ShowFirstRunDefaultBrowserPrompt(profile);
}
int ImportNow(Profile* profile, const CommandLine& cmdline) {

Powered by Google App Engine
This is Rietveld 408576698