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

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 remaining nits 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..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.

Powered by Google App Engine
This is Rietveld 408576698