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

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: 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
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 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 const char kImportHomepage[] = "import_home_page"; 1162 const char kImportHomepage[] = "import_home_page";
1163 1163
1164 // Boolean that specifies whether to import the saved passwords from the default 1164 // Boolean that specifies whether to import the saved passwords from the default
1165 // browser on first run. 1165 // browser on first run.
1166 const char kImportSavedPasswords[] = "import_saved_passwords"; 1166 const char kImportSavedPasswords[] = "import_saved_passwords";
1167 1167
1168 // Boolean that specifies whether to import the search engine from the default 1168 // Boolean that specifies whether to import the search engine from the default
1169 // browser on first run. 1169 // browser on first run.
1170 const char kImportSearchEngine[] = "import_search_engine"; 1170 const char kImportSearchEngine[] = "import_search_engine";
1171 1171
1172 // Prefs used to remember selections in the "Import data" dialog on the settings
1173 // page (chrome://settings/importData).
1174 const char kImportDialogAutofillFormData[] = "import_dialog_autofill_form_data";
1175 const char kImportDialogBookmarks[] = "import_dialog_bookmarks";
1176 const char kImportDialogHistory[] = "import_dialog_history";
1177 const char kImportDialogSavedPasswords[] = "import_dialog_saved_passwords";
1178 const char kImportDialogSearchEngine[] = "import_dialog_search_engine";
1179
1172 // Profile avatar and name 1180 // Profile avatar and name
1173 const char kProfileAvatarIndex[] = "profile.avatar_index"; 1181 const char kProfileAvatarIndex[] = "profile.avatar_index";
1174 const char kProfileName[] = "profile.name"; 1182 const char kProfileName[] = "profile.name";
1175 // Whether a profile is using a default avatar name (eg. Pickles or Person 1) 1183 // Whether a profile is using a default avatar name (eg. Pickles or Person 1)
1176 // because it was randomly assigned at profile creation time. 1184 // because it was randomly assigned at profile creation time.
1177 const char kProfileUsingDefaultName[] = "profile.using_default_name"; 1185 const char kProfileUsingDefaultName[] = "profile.using_default_name";
1178 // Whether a profile is using an avatar without having explicitely chosen it 1186 // Whether a profile is using an avatar without having explicitely chosen it
1179 // (i.e. was assigned by default by legacy profile creation). 1187 // (i.e. was assigned by default by legacy profile creation).
1180 const char kProfileUsingDefaultAvatar[] = "profile.using_default_avatar"; 1188 const char kProfileUsingDefaultAvatar[] = "profile.using_default_avatar";
1181 const char kProfileUsingGAIAAvatar[] = "profile.using_gaia_avatar"; 1189 const char kProfileUsingGAIAAvatar[] = "profile.using_gaia_avatar";
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
2472 2480
2473 // Number of times user has seen the "desktop to iOS" history page promotion. 2481 // Number of times user has seen the "desktop to iOS" history page promotion.
2474 const char kNumberHistoryPageIOSPromoShown[] = 2482 const char kNumberHistoryPageIOSPromoShown[] =
2475 "history_page_ios_promo_shown_count"; 2483 "history_page_ios_promo_shown_count";
2476 2484
2477 // True if the user has dismissed the "desktop to iOS" history page promotion. 2485 // True if the user has dismissed the "desktop to iOS" history page promotion.
2478 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; 2486 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed";
2479 #endif 2487 #endif
2480 2488
2481 } // namespace prefs 2489 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698