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

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

Issue 7390027: Added group policies to enable/disable importing of data from other browsers. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed first run importer to consider recommended policies. Created 9 years, 5 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.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.

Powered by Google App Engine
This is Rietveld 408576698