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

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

Issue 8585006: Turn app notifications sync to be on by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit tests 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/sync/profile_sync_factory_impl.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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 IDS_FLAGS_SYNC_TABS_NAME, 287 IDS_FLAGS_SYNC_TABS_NAME,
288 IDS_FLAGS_SYNC_TABS_DESCRIPTION, 288 IDS_FLAGS_SYNC_TABS_DESCRIPTION,
289 kOsAll, 289 kOsAll,
290 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs) 290 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs)
291 }, 291 },
292 { 292 {
293 "sync-app-notifications", 293 "sync-app-notifications",
294 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME, 294 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME,
295 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION, 295 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION,
296 kOsAll, 296 kOsAll,
297 SINGLE_VALUE_TYPE(switches::kEnableSyncAppNotifications) 297 SINGLE_VALUE_TYPE(switches::kDisableSyncAppNotifications)
298 }, 298 },
299 { 299 {
300 "enable-smooth-scrolling", // FLAGS:RECORD_UMA 300 "enable-smooth-scrolling", // FLAGS:RECORD_UMA
301 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, 301 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME,
302 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, 302 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION,
303 // Can't expose the switch unless the code is compiled in. 303 // Can't expose the switch unless the code is compiled in.
304 // On by default for the Mac (different implementation in WebKit). 304 // On by default for the Mac (different implementation in WebKit).
305 kOsWin | kOsLinux | kOsCrOS, 305 kOsWin | kOsLinux | kOsCrOS,
306 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) 306 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)
307 }, 307 },
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 } 863 }
864 864
865 const Experiment* GetExperiments(size_t* count) { 865 const Experiment* GetExperiments(size_t* count) {
866 *count = num_experiments; 866 *count = num_experiments;
867 return experiments; 867 return experiments;
868 } 868 }
869 869
870 } // namespace testing 870 } // namespace testing
871 871
872 } // namespace about_flags 872 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/sync/profile_sync_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698