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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 8334030: Merge search engines sync data type with Preferences. Sync the default search provider. Add some ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Merge to TOT and fixed additional conflicts from rsimha. Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/prefs/pref_set_observer.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions) 284 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions)
285 }, 285 },
286 { 286 {
287 "sync-tabs", 287 "sync-tabs",
288 IDS_FLAGS_SYNC_TABS_NAME, 288 IDS_FLAGS_SYNC_TABS_NAME,
289 IDS_FLAGS_SYNC_TABS_DESCRIPTION, 289 IDS_FLAGS_SYNC_TABS_DESCRIPTION,
290 kOsAll, 290 kOsAll,
291 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs) 291 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs)
292 }, 292 },
293 { 293 {
294 "sync-search-engines",
295 IDS_FLAGS_SYNC_SEARCH_ENGINES_NAME,
296 IDS_FLAGS_SYNC_SEARCH_ENGINES_DESCRIPTION,
297 kOsAll,
298 SINGLE_VALUE_TYPE(switches::kEnableSyncSearchEngines)
299 },
300 {
301 "sync-app-notifications", 294 "sync-app-notifications",
302 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME, 295 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME,
303 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION, 296 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION,
304 kOsAll, 297 kOsAll,
305 SINGLE_VALUE_TYPE(switches::kEnableSyncAppNotifications) 298 SINGLE_VALUE_TYPE(switches::kEnableSyncAppNotifications)
306 }, 299 },
307 { 300 {
308 "enable-smooth-scrolling", // FLAGS:RECORD_UMA 301 "enable-smooth-scrolling", // FLAGS:RECORD_UMA
309 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, 302 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME,
310 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, 303 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION,
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 } 864 }
872 865
873 const Experiment* GetExperiments(size_t* count) { 866 const Experiment* GetExperiments(size_t* count) {
874 *count = num_experiments; 867 *count = num_experiments;
875 return experiments; 868 return experiments;
876 } 869 }
877 870
878 } // namespace testing 871 } // namespace testing
879 872
880 } // namespace about_flags 873 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/prefs/pref_set_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698