| 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 #ifndef PPAPI_SHARED_IMPL_PPAPI_SWITCHES_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPAPI_SWITCHES_H_ |
| 6 #define PPAPI_SHARED_IMPL_PPAPI_SWITCHES_H_ | 6 #define PPAPI_SHARED_IMPL_PPAPI_SWITCHES_H_ |
| 7 | 7 |
| 8 #include "ppapi/shared_impl/ppapi_shared_export.h" | 8 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 9 | 9 |
| 10 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 11 |
| 12 namespace { |
| 13 #include "ppapi/shared_impl/ppapi_switches.cc" |
| 14 } // namespace |
| 15 |
| 16 #else |
| 17 |
| 10 namespace switches { | 18 namespace switches { |
| 11 | 19 |
| 12 PPAPI_SHARED_EXPORT extern const char kEnablePepperTesting[]; | 20 PPAPI_SHARED_EXPORT extern const char kEnablePepperTesting[]; |
| 13 | 21 |
| 14 } // namespace switches | 22 } // namespace switches |
| 15 | 23 |
| 24 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 16 #endif // PPAPI_SHARED_IMPL_PPAPI_SWITCHES_H_ | 25 #endif // PPAPI_SHARED_IMPL_PPAPI_SWITCHES_H_ |
| OLD | NEW |