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

Unified Diff: chrome/browser/first_run/first_run.h

Issue 3148001: Reworked Avi's patch for master prefs implemented on mac to work with new fir... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.h
===================================================================
--- chrome/browser/first_run/first_run.h (revision 57069)
+++ chrome/browser/first_run/first_run.h (working copy)
@@ -131,6 +131,18 @@
FRIEND_TEST_ALL_PREFIXES(Toolbar5ImporterTest, BookmarkParse);
#if defined(OS_WIN)
+ // Writes the EULA to a temporary file, returned in |*eula_path|, and returns
+ // true if successful.
+ static bool WriteEULAtoTempFile(FilePath* eula_path);
+ // Launches the setup exe with the given parameter/value on the command-line,
+ // waits for its termination, returns its exit code in |*ret_code|, and
+ // returns true if the exit code is valid.
+ static bool LaunchSetupWithParam(const std::string& param,
+ const std::wstring& value,
+ int* ret_code);
+ // Installs a task to do an extensions update check once the extensions system
+ // is running.
+ static void DoDelayedInstallExtensions();
// Imports settings in a separate process. It is the implementation of the
// public version. |skip_first_run_ui| is true if no first run UI should
// appear (search engine dialog, Firefox import warning dialog).
@@ -142,7 +154,7 @@
// Import browser items in this process. The browser and the items to
// import are encoded int the command line.
static int ImportFromBrowser(Profile* profile, const CommandLine& cmdline);
-#elif defined(OS_LINUX)
+#else
static bool ImportBookmarks(const FilePath& import_bookmarks_path);
#endif
« no previous file with comments | « no previous file | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698