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

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

Issue 604383003: Credential Manager: Add the API to about:flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Histograms. Created 6 years, 2 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 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1928 }, 1928 },
1929 #if defined(USE_AURA) 1929 #if defined(USE_AURA)
1930 { 1930 {
1931 "enable-tab-audio-muting", 1931 "enable-tab-audio-muting",
1932 IDS_FLAGS_ENABLE_TAB_AUDIO_MUTING_NAME, 1932 IDS_FLAGS_ENABLE_TAB_AUDIO_MUTING_NAME,
1933 IDS_FLAGS_ENABLE_TAB_AUDIO_MUTING_DESCRIPTION, 1933 IDS_FLAGS_ENABLE_TAB_AUDIO_MUTING_DESCRIPTION,
1934 kOsWin | kOsLinux | kOsCrOS, 1934 kOsWin | kOsLinux | kOsCrOS,
1935 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting) 1935 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting)
1936 }, 1936 },
1937 #endif // defined(USE_AURA) 1937 #endif // defined(USE_AURA)
1938 {
1939 "enable-credential-manager-api",
1940 IDS_FLAGS_CREDENTIAL_MANAGER_API_NAME,
1941 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION,
1942 kOsAll,
1943 SINGLE_VALUE_TYPE(switches::kEnableCredentialManagerAPI)
1944 },
1938 1945
1939 // NOTE: Adding new command-line switches requires adding corresponding 1946 // NOTE: Adding new command-line switches requires adding corresponding
1940 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 1947 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
1941 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 1948 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
1942 }; 1949 };
1943 1950
1944 const Experiment* experiments = kExperiments; 1951 const Experiment* experiments = kExperiments;
1945 size_t num_experiments = arraysize(kExperiments); 1952 size_t num_experiments = arraysize(kExperiments);
1946 1953
1947 // Stores and encapsulates the little state that about:flags has. 1954 // Stores and encapsulates the little state that about:flags has.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2525 } 2532 }
2526 2533
2527 const Experiment* GetExperiments(size_t* count) { 2534 const Experiment* GetExperiments(size_t* count) {
2528 *count = num_experiments; 2535 *count = num_experiments;
2529 return experiments; 2536 return experiments;
2530 } 2537 }
2531 2538
2532 } // namespace testing 2539 } // namespace testing
2533 2540
2534 } // namespace about_flags 2541 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698