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

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

Issue 2706363002: Add Finch flag for Copyless Paste (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « no previous file | chrome/browser/android/chrome_feature_list.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) 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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 2596 matching lines...) Expand 10 before | Expand all | Expand 10 after
2607 2607
2608 #if defined(OS_CHROMEOS) 2608 #if defined(OS_CHROMEOS)
2609 {"enable-zip-archiver-on-file-manager", 2609 {"enable-zip-archiver-on-file-manager",
2610 flag_descriptions::kEnableZipArchiverOnFileManagerName, 2610 flag_descriptions::kEnableZipArchiverOnFileManagerName,
2611 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, 2611 flag_descriptions::kEnableZipArchiverOnFileManagerDescription,
2612 kOsCrOS, 2612 kOsCrOS,
2613 SINGLE_VALUE_TYPE( 2613 SINGLE_VALUE_TYPE(
2614 chromeos::switches::kEnableZipArchiverOnFileManager)}, 2614 chromeos::switches::kEnableZipArchiverOnFileManager)},
2615 #endif // OS_CHROMEOS 2615 #endif // OS_CHROMEOS
2616 2616
2617 #if defined(OS_ANDROID)
2618 {"enable-copyless-paste", flag_descriptions::kEnableCopylessPasteName,
2619 flag_descriptions::kEnableCopylessPasteDescription, kOsAndroid,
2620 FEATURE_VALUE_TYPE(features::kCopylessPaste)},
2621 #endif
2622
2617 // NOTE: Adding new command-line switches requires adding corresponding 2623 // NOTE: Adding new command-line switches requires adding corresponding
2618 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2624 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2619 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2625 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2620 }; 2626 };
2621 2627
2622 class FlagsStateSingleton { 2628 class FlagsStateSingleton {
2623 public: 2629 public:
2624 FlagsStateSingleton() 2630 FlagsStateSingleton()
2625 : flags_state_(kFeatureEntries, arraysize(kFeatureEntries)) {} 2631 : flags_state_(kFeatureEntries, arraysize(kFeatureEntries)) {}
2626 ~FlagsStateSingleton() {} 2632 ~FlagsStateSingleton() {}
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
2823 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2829 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2824 2830
2825 const FeatureEntry* GetFeatureEntries(size_t* count) { 2831 const FeatureEntry* GetFeatureEntries(size_t* count) {
2826 *count = arraysize(kFeatureEntries); 2832 *count = arraysize(kFeatureEntries);
2827 return kFeatureEntries; 2833 return kFeatureEntries;
2828 } 2834 }
2829 2835
2830 } // namespace testing 2836 } // namespace testing
2831 2837
2832 } // namespace about_flags 2838 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/chrome_feature_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698