From 594f4ff352685bb83b71d1402264bc2cf2116e67 Mon Sep 17 00:00:00 2001 From: "huanr@chromium.org" Date: Wed, 24 Mar 2010 22:01:25 +0000 Subject: Add import_bookmarks_from_file option to master pref that sliently import bookmarks from file in first run. BUG=32728 TEST=unit test Review URL: http://codereview.chromium.org/1257001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42545 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/first_run.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/browser/first_run.h') diff --git a/chrome/browser/first_run.h b/chrome/browser/first_run.h index 910edf56..d8a5cfd 100644 --- a/chrome/browser/first_run.h +++ b/chrome/browser/first_run.h @@ -106,6 +106,12 @@ class FirstRun { // 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); + // Imports settings in a separate process. It is the implementation of the + // public version. + static bool ImportSettings(Profile* profile, int browser_type, + int items_to_import, + const std::wstring& import_path, + gfx::NativeView parent_window); #endif // OS_WIN // This class is for scoping purposes. DISALLOW_IMPLICIT_CONSTRUCTORS(FirstRun); -- cgit v1.1