Index: ui/gl/gl_switches.h |
diff --git a/ui/gl/gl_switches.h b/ui/gl/gl_switches.h |
index 57590d7bd8776ceaf938a3ab0dfb8424663bf633..a9979360a2ee444dce92473699f264ed51d0d895 100644 |
--- a/ui/gl/gl_switches.h |
+++ b/ui/gl/gl_switches.h |
@@ -7,6 +7,7 @@ |
// Defines all the command-line switches used by ui/gl. |
+#include "base/basictypes.h" |
#include "ui/gl/gl_export.h" |
namespace gfx { |
@@ -21,6 +22,14 @@ extern const char kGLImplementationMockName[]; |
} // namespace gfx |
+#ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
+ |
+namespace { |
+#include "ui/gl/gl_switches.cc" |
+} |
+ |
+#else |
+ |
namespace switches { |
GL_EXPORT extern const char kEnableD3D11[]; |
@@ -50,4 +59,5 @@ GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; |
} // namespace switches |
+#endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
#endif // UI_GL_GL_SWITCHES_H_ |