OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef WEBKIT_PLUGINS_PLUGIN_SWITCHES_H_ | 5 #ifndef WEBKIT_PLUGINS_PLUGIN_SWITCHES_H_ |
6 #define WEBKIT_PLUGINS_PLUGIN_SWITCHES_H_ | 6 #define WEBKIT_PLUGINS_PLUGIN_SWITCHES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
| 10 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 11 |
| 12 namespace { |
| 13 #include "webkit/plugins/plugin_switches.cc" |
| 14 } |
| 15 |
| 16 #else |
| 17 |
10 namespace switches { | 18 namespace switches { |
11 | 19 |
12 extern const char kDebugPluginLoading[]; | 20 extern const char kDebugPluginLoading[]; |
13 extern const char kDisablePepper3d[]; | 21 extern const char kDisablePepper3d[]; |
14 extern const char kPpapiFlashArgs[]; | 22 extern const char kPpapiFlashArgs[]; |
15 | 23 |
16 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
17 extern const char kUseOldWMPPlugin[]; | 25 extern const char kUseOldWMPPlugin[]; |
18 #endif | 26 #endif |
19 | 27 |
20 } // namespace switches | 28 } // namespace switches |
21 | 29 |
| 30 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
22 #endif // WEBKIT_PLUGINS_PLUGIN_SWITCHES_H_ | 31 #endif // WEBKIT_PLUGINS_PLUGIN_SWITCHES_H_ |
OLD | NEW |