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

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

Issue 7697006: Enabled typed URL syncing by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated unit tests to reflect new enabled type (typed urls)" Created 9 years, 4 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 | « no previous file | 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 SINGLE_VALUE_TYPE(switches::kEnableSyncOAuth) 296 SINGLE_VALUE_TYPE(switches::kEnableSyncOAuth)
297 }, 297 },
298 { 298 {
299 "sync-sessions", 299 "sync-sessions",
300 IDS_FLAGS_SYNC_SESSIONS_NAME, 300 IDS_FLAGS_SYNC_SESSIONS_NAME,
301 IDS_FLAGS_SYNC_SESSIONS_DESCRIPTION, 301 IDS_FLAGS_SYNC_SESSIONS_DESCRIPTION,
302 kOsAll, 302 kOsAll,
303 SINGLE_VALUE_TYPE(switches::kEnableSyncSessions) 303 SINGLE_VALUE_TYPE(switches::kEnableSyncSessions)
304 }, 304 },
305 { 305 {
306 "sync-typed-urls",
307 IDS_FLAGS_SYNC_TYPED_URLS_NAME,
308 IDS_FLAGS_SYNC_TYPED_URLS_DESCRIPTION,
309 kOsAll,
310 SINGLE_VALUE_TYPE(switches::kEnableSyncTypedUrls)
311 },
312 {
313 "enable-smooth-scrolling", // FLAGS:RECORD_UMA 306 "enable-smooth-scrolling", // FLAGS:RECORD_UMA
314 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, 307 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME,
315 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, 308 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION,
316 // Can't expose the switch unless the code is compiled in. 309 // Can't expose the switch unless the code is compiled in.
317 #if defined(ENABLE_SMOOTH_SCROLLING) 310 #if defined(ENABLE_SMOOTH_SCROLLING)
318 kOsAll, 311 kOsAll,
319 #else 312 #else
320 0, 313 0,
321 #endif 314 #endif
322 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) 315 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 } 803 }
811 804
812 const Experiment* GetExperiments(size_t* count) { 805 const Experiment* GetExperiments(size_t* count) {
813 *count = num_experiments; 806 *count = num_experiments;
814 return experiments; 807 return experiments;
815 } 808 }
816 809
817 } // namespace testing 810 } // namespace testing
818 811
819 } // namespace about_flags 812 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698