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

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

Issue 10235013: [Sync] Add support for automatic enabling of syncing tab favicons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert testserver for now Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/sync/glue/sync_backend_host.h » ('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/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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions) 344 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions)
345 }, 345 },
346 { 346 {
347 "sync-tabs", 347 "sync-tabs",
348 IDS_FLAGS_SYNC_TABS_NAME, 348 IDS_FLAGS_SYNC_TABS_NAME,
349 IDS_FLAGS_SYNC_TABS_DESCRIPTION, 349 IDS_FLAGS_SYNC_TABS_DESCRIPTION,
350 kOsAll, 350 kOsAll,
351 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs) 351 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs)
352 }, 352 },
353 { 353 {
354 "sync-tab-favicons",
355 IDS_FLAGS_SYNC_TAB_FAVICONS_NAME,
356 IDS_FLAGS_SYNC_TAB_FAVICONS_DESCRIPTION,
357 kOsAll,
358 SINGLE_VALUE_TYPE(switches::kSyncTabFavicons)
359 },
360 {
354 "sync-app-notifications", 361 "sync-app-notifications",
355 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME, 362 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME,
356 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION, 363 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION,
357 kOsAll, 364 kOsAll,
358 SINGLE_VALUE_TYPE(switches::kDisableSyncAppNotifications) 365 SINGLE_VALUE_TYPE(switches::kDisableSyncAppNotifications)
359 }, 366 },
360 { 367 {
361 "enable-smooth-scrolling", // FLAGS:RECORD_UMA 368 "enable-smooth-scrolling", // FLAGS:RECORD_UMA
362 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, 369 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME,
363 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, 370 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION,
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 } 1092 }
1086 1093
1087 const Experiment* GetExperiments(size_t* count) { 1094 const Experiment* GetExperiments(size_t* count) {
1088 *count = num_experiments; 1095 *count = num_experiments;
1089 return experiments; 1096 return experiments;
1090 } 1097 }
1091 1098
1092 } // namespace testing 1099 } // namespace testing
1093 1100
1094 } // namespace about_flags 1101 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/sync/glue/sync_backend_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698