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

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

Issue 591463003: Remote Assistance on Chrome OS Part III - NativeMessageHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_messaging
Patch Set: Rebase on ToT 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 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after
1936 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting) 1936 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting)
1937 }, 1937 },
1938 #endif // defined(USE_AURA) 1938 #endif // defined(USE_AURA)
1939 { 1939 {
1940 "enable-credential-manager-api", 1940 "enable-credential-manager-api",
1941 IDS_FLAGS_CREDENTIAL_MANAGER_API_NAME, 1941 IDS_FLAGS_CREDENTIAL_MANAGER_API_NAME,
1942 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION, 1942 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION,
1943 kOsAll, 1943 kOsAll,
1944 SINGLE_VALUE_TYPE(switches::kEnableCredentialManagerAPI) 1944 SINGLE_VALUE_TYPE(switches::kEnableCredentialManagerAPI)
1945 }, 1945 },
1946 1946 #if defined(OS_CHROMEOS)
1947 {
1948 "enable-remote-assistance",
1949 IDS_FLAGS_ENABLE_REMOTE_ASSISTANCE_NAME,
1950 IDS_FLAGS_ENABLE_REMOTE_ASSISTANCE_DESCRIPTION,
1951 kOsCrOS,
1952 SINGLE_VALUE_TYPE(extensions::switches::kEnableRemoteAssistance)
1953 },
1954 #endif // defined(OS_CHROMEOS)
1947 // NOTE: Adding new command-line switches requires adding corresponding 1955 // NOTE: Adding new command-line switches requires adding corresponding
1948 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 1956 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
1949 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 1957 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
1950 }; 1958 };
1951 1959
1952 const Experiment* experiments = kExperiments; 1960 const Experiment* experiments = kExperiments;
1953 size_t num_experiments = arraysize(kExperiments); 1961 size_t num_experiments = arraysize(kExperiments);
1954 1962
1955 // Stores and encapsulates the little state that about:flags has. 1963 // Stores and encapsulates the little state that about:flags has.
1956 class FlagsState { 1964 class FlagsState {
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
2533 } 2541 }
2534 2542
2535 const Experiment* GetExperiments(size_t* count) { 2543 const Experiment* GetExperiments(size_t* count) {
2536 *count = num_experiments; 2544 *count = num_experiments;
2537 return experiments; 2545 return experiments;
2538 } 2546 }
2539 2547
2540 } // namespace testing 2548 } // namespace testing
2541 2549
2542 } // namespace about_flags 2550 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698