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..6dc95e545f55489f9b8367d19a96771533c6c906 100644 |
--- a/chrome/browser/first_run/first_run.h |
+++ b/chrome/browser/first_run/first_run.h |
@@ -12,6 +12,7 @@ |
#include "base/compiler_specific.h" |
#include "base/gtest_prod_util.h" |
#include "base/memory/ref_counted.h" |
+#include "chrome/browser/prefs/pref_service.h" |
#include "ui/gfx/native_widget_types.h" |
class CommandLine; |
@@ -149,6 +150,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, |
+ const char* pref_path, |
+ int import_items, |
+ int dont_import_items, |
+ int import_type, |
+ int& items); |
+ |
#if defined(OS_WIN) |
// Writes the EULA to a temporary file, returned in |*eula_path|, and returns |
// true if successful. |