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

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

Issue 965613002: Open a firewall hole when a TCP server or UDP socket is bound. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 9 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 | « chrome/app/chromeos_strings.grdp ('k') | chromeos/chromeos.gyp » ('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 2248 matching lines...) Expand 10 before | Expand all | Expand 10 after
2259 SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport) 2259 SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport)
2260 }, 2260 },
2261 #endif // defined(OS_CHROMEOS) && defined(USE_OZONE) 2261 #endif // defined(OS_CHROMEOS) && defined(USE_OZONE)
2262 { 2262 {
2263 "v8-pac-mojo-out-of-process", 2263 "v8-pac-mojo-out-of-process",
2264 IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_NAME, 2264 IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_NAME,
2265 IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_DESCRIPTION, 2265 IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_DESCRIPTION,
2266 kOsDesktop, 2266 kOsDesktop,
2267 SINGLE_VALUE_TYPE(switches::kV8PacMojoOutOfProcess), 2267 SINGLE_VALUE_TYPE(switches::kV8PacMojoOutOfProcess),
2268 }, 2268 },
2269 #if defined(OS_CHROMEOS)
2270 {
2271 "enable-firewall-hole-punching",
2272 IDS_FLAGS_ENABLE_FIREWALL_HOLE_PUNCHING_NAME,
2273 IDS_FLAGS_ENABLE_FIREWALL_HOLE_PUNCHING_DESCRIPTION,
2274 kOsCrOS,
2275 SINGLE_VALUE_TYPE(chromeos::switches::kEnableFirewallHolePunching)
2276 },
2277 #endif // defined(OS_CHROMEOS)
2269 2278
2270 // NOTE: Adding new command-line switches requires adding corresponding 2279 // NOTE: Adding new command-line switches requires adding corresponding
2271 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2280 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2272 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2281 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2273 }; 2282 };
2274 2283
2275 const Experiment* experiments = kExperiments; 2284 const Experiment* experiments = kExperiments;
2276 size_t num_experiments = arraysize(kExperiments); 2285 size_t num_experiments = arraysize(kExperiments);
2277 2286
2278 // Stores and encapsulates the little state that about:flags has. 2287 // Stores and encapsulates the little state that about:flags has.
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
2862 } 2871 }
2863 2872
2864 const Experiment* GetExperiments(size_t* count) { 2873 const Experiment* GetExperiments(size_t* count) {
2865 *count = num_experiments; 2874 *count = num_experiments;
2866 return experiments; 2875 return experiments;
2867 } 2876 }
2868 2877
2869 } // namespace testing 2878 } // namespace testing
2870 2879
2871 } // namespace about_flags 2880 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698