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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2727813002: Options/MD Settings: use new prefs to drive import data dialog (Closed)
Patch Set: pastarmovj@ review Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 const char kImportHomepage[] = "import_home_page"; 1167 const char kImportHomepage[] = "import_home_page";
1168 1168
1169 // Boolean that specifies whether to import the saved passwords from the default 1169 // Boolean that specifies whether to import the saved passwords from the default
1170 // browser on first run. 1170 // browser on first run.
1171 const char kImportSavedPasswords[] = "import_saved_passwords"; 1171 const char kImportSavedPasswords[] = "import_saved_passwords";
1172 1172
1173 // Boolean that specifies whether to import the search engine from the default 1173 // Boolean that specifies whether to import the search engine from the default
1174 // browser on first run. 1174 // browser on first run.
1175 const char kImportSearchEngine[] = "import_search_engine"; 1175 const char kImportSearchEngine[] = "import_search_engine";
1176 1176
1177 // Prefs used to remember selections in the "Import data" dialog on the settings
1178 // page (chrome://settings/importData).
1179 const char kImportDialogAutofillFormData[] = "import_dialog_autofill_form_data";
1180 const char kImportDialogBookmarks[] = "import_dialog_bookmarks";
1181 const char kImportDialogHistory[] = "import_dialog_history";
1182 const char kImportDialogSavedPasswords[] = "import_dialog_saved_passwords";
1183 const char kImportDialogSearchEngine[] = "import_dialog_search_engine";
1184
1177 // Profile avatar and name 1185 // Profile avatar and name
1178 const char kProfileAvatarIndex[] = "profile.avatar_index"; 1186 const char kProfileAvatarIndex[] = "profile.avatar_index";
1179 const char kProfileName[] = "profile.name"; 1187 const char kProfileName[] = "profile.name";
1180 // Whether a profile is using a default avatar name (eg. Pickles or Person 1) 1188 // Whether a profile is using a default avatar name (eg. Pickles or Person 1)
1181 // because it was randomly assigned at profile creation time. 1189 // because it was randomly assigned at profile creation time.
1182 const char kProfileUsingDefaultName[] = "profile.using_default_name"; 1190 const char kProfileUsingDefaultName[] = "profile.using_default_name";
1183 // Whether a profile is using an avatar without having explicitely chosen it 1191 // Whether a profile is using an avatar without having explicitely chosen it
1184 // (i.e. was assigned by default by legacy profile creation). 1192 // (i.e. was assigned by default by legacy profile creation).
1185 const char kProfileUsingDefaultAvatar[] = "profile.using_default_avatar"; 1193 const char kProfileUsingDefaultAvatar[] = "profile.using_default_avatar";
1186 const char kProfileUsingGAIAAvatar[] = "profile.using_gaia_avatar"; 1194 const char kProfileUsingGAIAAvatar[] = "profile.using_gaia_avatar";
(...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
2507 // settings. 2515 // settings.
2508 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = 2516 const char kSettingsResetPromptLastTriggeredForStartupUrls[] =
2509 "settings_reset_prompt.last_triggered_for_startup_urls"; 2517 "settings_reset_prompt.last_triggered_for_startup_urls";
2510 2518
2511 // Timestamp of the last time the settings reset prompt was shown during the 2519 // Timestamp of the last time the settings reset prompt was shown during the
2512 // current prompt wave asking the user if they want to restore their homepage. 2520 // current prompt wave asking the user if they want to restore their homepage.
2513 const char kSettingsResetPromptLastTriggeredForHomepage[] = 2521 const char kSettingsResetPromptLastTriggeredForHomepage[] =
2514 "settings_reset_prompt.last_triggered_for_homepage"; 2522 "settings_reset_prompt.last_triggered_for_homepage";
2515 2523
2516 } // namespace prefs 2524 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698