OLD | NEW |
---|---|
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/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
349 // running a tab's onunload js handler independently of the GUI - | 349 // running a tab's onunload js handler independently of the GUI - |
350 // crbug.com/142458 . | 350 // crbug.com/142458 . |
351 const char kEnableFastUnload[] = "enable-fast-unload"; | 351 const char kEnableFastUnload[] = "enable-fast-unload"; |
352 | 352 |
353 // Enables the Material Design feedback form. | 353 // Enables the Material Design feedback form. |
354 const char kEnableMaterialDesignFeedback[] = "enable-md-feedback"; | 354 const char kEnableMaterialDesignFeedback[] = "enable-md-feedback"; |
355 | 355 |
356 // Enables the Material Design policy page at chrome://md-policy. | 356 // Enables the Material Design policy page at chrome://md-policy. |
357 const char kEnableMaterialDesignPolicyPage[] = "enable-md-policy-page"; | 357 const char kEnableMaterialDesignPolicyPage[] = "enable-md-policy-page"; |
358 | 358 |
359 // Forces metrics reporting to be enabled and may tag logs as examples. | |
Alexei Svitkine (slow)
2017/05/04 21:36:01
Nit: Omit the "and may tag logs as examples" part.
Steven Holte
2017/05/04 22:07:04
Done.
| |
360 const char kEnableMetricsReportingForTesting[] = | |
361 "enable-metrics-reporting-for-testing"; | |
362 | |
359 // Runs the Native Client inside the renderer process and enables GPU plugin | 363 // Runs the Native Client inside the renderer process and enables GPU plugin |
360 // (internally adds lEnableGpuPlugin to the command line). | 364 // (internally adds lEnableGpuPlugin to the command line). |
361 const char kEnableNaCl[] = "enable-nacl"; | 365 const char kEnableNaCl[] = "enable-nacl"; |
362 | 366 |
363 // Enables tracing for each navigation. It will attempt to trace each navigation | 367 // Enables tracing for each navigation. It will attempt to trace each navigation |
364 // for 10s, until the buffer is full, or until the next navigation. | 368 // for 10s, until the buffer is full, or until the next navigation. |
365 // It only works if a URL was provided by --trace-upload-url. | 369 // It only works if a URL was provided by --trace-upload-url. |
366 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; | 370 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; |
367 | 371 |
368 // Enables the network-related benchmarking extensions. | 372 // Enables the network-related benchmarking extensions. |
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1176 | 1180 |
1177 // ----------------------------------------------------------------------------- | 1181 // ----------------------------------------------------------------------------- |
1178 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1182 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
1179 // | 1183 // |
1180 // You were going to just dump your switches here, weren't you? Instead, please | 1184 // You were going to just dump your switches here, weren't you? Instead, please |
1181 // put them in alphabetical order above, or in order inside the appropriate | 1185 // put them in alphabetical order above, or in order inside the appropriate |
1182 // ifdef at the bottom. The order should match the header. | 1186 // ifdef at the bottom. The order should match the header. |
1183 // ----------------------------------------------------------------------------- | 1187 // ----------------------------------------------------------------------------- |
1184 | 1188 |
1185 } // namespace switches | 1189 } // namespace switches |
OLD | NEW |