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 1bdf1cdcec2ff7eeb1c494bdc962a1ff8a446770..8bfd4765ad811d41296d21509e25da4fd910a44d 100644 |
--- a/chrome/browser/first_run/first_run.h |
+++ b/chrome/browser/first_run/first_run.h |
@@ -12,6 +12,8 @@ |
#include "base/compiler_specific.h" |
#include "base/gtest_prod_util.h" |
#include "base/memory/ref_counted.h" |
+#include "chrome/browser/importer/importer_host.h" |
+#include "chrome/browser/prefs/pref_service.h" |
#include "ui/gfx/native_widget_types.h" |
class CommandLine; |
@@ -149,6 +151,15 @@ class FirstRun { |
friend class FirstRunTest; |
FRIEND_TEST_ALL_PREFIXES(Toolbar5ImporterTest, BookmarkParse); |
+ // Sets the |items| bitfield according to whether the import data specified by |
+ // |import_type| should be be auto imported or not. |
+ static void SetImportItem(PrefService* user_prefs, |
James Hawkins
2011/08/01 19:41:51
Move to an unnamed namespace in the implementation
simo
2011/08/02 09:08:14
Done.
|
+ const char* pref_path, |
+ int import_items, |
+ int dont_import_items, |
+ importer::ImportItem import_type, |
+ int& items); |
+ |
#if defined(OS_WIN) |
// Writes the EULA to a temporary file, returned in |*eula_path|, and returns |
// true if successful. |