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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge Created 4 years, 1 month 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/common/chrome_switches.h ('k') | chrome/common/features.gni » ('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/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 "printing/features/features.h" 11 #include "printing/features/features.h"
11 12
12 namespace switches { 13 namespace switches {
13 14
14 // ----------------------------------------------------------------------------- 15 // -----------------------------------------------------------------------------
15 // Can't find the switch you are looking for? Try looking in: 16 // Can't find the switch you are looking for? Try looking in:
16 // ash/common/ash_switches.cc 17 // ash/common/ash_switches.cc
17 // base/base_switches.cc 18 // base/base_switches.cc
18 // chromeos/chromeos_switches.cc 19 // chromeos/chromeos_switches.cc
19 // etc. 20 // etc.
(...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 1238
1238 // Indicates that chrome was launched to service a search request in Windows 8. 1239 // Indicates that chrome was launched to service a search request in Windows 8.
1239 const char kWindows8Search[] = "windows8-search"; 1240 const char kWindows8Search[] = "windows8-search";
1240 #endif // defined(OS_WIN) 1241 #endif // defined(OS_WIN)
1241 1242
1242 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) 1243 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
1243 // Enables support to debug printing subsystem. 1244 // Enables support to debug printing subsystem.
1244 const char kDebugPrint[] = "debug-print"; 1245 const char kDebugPrint[] = "debug-print";
1245 #endif 1246 #endif
1246 1247
1247 #if defined(ENABLE_PLUGINS) 1248 #if BUILDFLAG(ENABLE_PLUGINS)
1248 // Specifies comma-separated list of extension ids or hosts to grant 1249 // Specifies comma-separated list of extension ids or hosts to grant
1249 // access to CRX file system APIs. 1250 // access to CRX file system APIs.
1250 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; 1251 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api";
1251 1252
1252 // Specifies comma-separated list of extension ids or hosts to grant 1253 // Specifies comma-separated list of extension ids or hosts to grant
1253 // access to file handle APIs. 1254 // access to file handle APIs.
1254 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; 1255 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api";
1255 1256
1256 // Specifies comma-separated list of extension ids or hosts to grant 1257 // Specifies comma-separated list of extension ids or hosts to grant
1257 // access to TCP/UDP socket APIs. 1258 // access to TCP/UDP socket APIs.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 1318
1318 // ----------------------------------------------------------------------------- 1319 // -----------------------------------------------------------------------------
1319 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1320 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1320 // 1321 //
1321 // You were going to just dump your switches here, weren't you? Instead, please 1322 // You were going to just dump your switches here, weren't you? Instead, please
1322 // put them in alphabetical order above, or in order inside the appropriate 1323 // put them in alphabetical order above, or in order inside the appropriate
1323 // ifdef at the bottom. The order should match the header. 1324 // ifdef at the bottom. The order should match the header.
1324 // ----------------------------------------------------------------------------- 1325 // -----------------------------------------------------------------------------
1325 1326
1326 } // namespace switches 1327 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698