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

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

Issue 1049833004: Add flag for MTP write support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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
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 2287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2298 // disabled, flag guard enable-launcher-search-provider-api. 2298 // disabled, flag guard enable-launcher-search-provider-api.
2299 #if defined(ENABLE_APP_LIST) 2299 #if defined(ENABLE_APP_LIST)
2300 { 2300 {
2301 "enable-launcher-search-provider-api", 2301 "enable-launcher-search-provider-api",
2302 IDS_FLAGS_ENABLE_LAUNCHER_SEARCH_PROVIDER_API, 2302 IDS_FLAGS_ENABLE_LAUNCHER_SEARCH_PROVIDER_API,
2303 IDS_FLAGS_ENABLE_LAUNCHER_SEARCH_PROVIDER_API_DESCRIPTION, 2303 IDS_FLAGS_ENABLE_LAUNCHER_SEARCH_PROVIDER_API_DESCRIPTION,
2304 kOsCrOS, 2304 kOsCrOS,
2305 SINGLE_VALUE_TYPE(app_list::switches::kEnableLauncherSearchProviderApi) 2305 SINGLE_VALUE_TYPE(app_list::switches::kEnableLauncherSearchProviderApi)
2306 }, 2306 },
2307 #endif // defined(ENABLE_APP_LIST) 2307 #endif // defined(ENABLE_APP_LIST)
2308 #if defined(OS_CHROMEOS)
2309 {
2310 "enable-mtp-write-support",
2311 IDS_FLAG_ENABLE_MTP_WRITE_SUPPORT_NAME,
2312 IDS_FLAG_ENABLE_MTP_WRITE_SUPPORT_DESCRIPTION,
2313 kOsCrOS,
2314 SINGLE_VALUE_TYPE(chromeos::switches::kEnableMtpWriteSupport)
2315 },
2316 #endif // defined(OS_CHROMEOS)
2308 2317
2309 // NOTE: Adding new command-line switches requires adding corresponding 2318 // NOTE: Adding new command-line switches requires adding corresponding
2310 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2319 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2311 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2320 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2312 }; 2321 };
2313 2322
2314 const Experiment* experiments = kExperiments; 2323 const Experiment* experiments = kExperiments;
2315 size_t num_experiments = arraysize(kExperiments); 2324 size_t num_experiments = arraysize(kExperiments);
2316 2325
2317 // Stores and encapsulates the little state that about:flags has. 2326 // Stores and encapsulates the little state that about:flags has.
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
2887 } 2896 }
2888 2897
2889 const Experiment* GetExperiments(size_t* count) { 2898 const Experiment* GetExperiments(size_t* count) {
2890 *count = num_experiments; 2899 *count = num_experiments;
2891 return experiments; 2900 return experiments;
2892 } 2901 }
2893 2902
2894 } // namespace testing 2903 } // namespace testing
2895 2904
2896 } // namespace about_flags 2905 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/file_manager/volume_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698