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

Unified Diff: gpu/command_buffer/service/gpu_switches.h

Issue 19925003: WIP - command line experiment Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/google_api_keys.cc ('k') | gpu/command_buffer/service/gpu_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_switches.h
diff --git a/gpu/command_buffer/service/gpu_switches.h b/gpu/command_buffer/service/gpu_switches.h
index 7634c571174fb2fa4170d649a0e16f05d37c80b6..3f09cf5f76376f9979480f8de37e3b60652ed2f6 100644
--- a/gpu/command_buffer/service/gpu_switches.h
+++ b/gpu/command_buffer/service/gpu_switches.h
@@ -7,8 +7,18 @@
#ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
#define GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
+#include "base/basictypes.h"
+#include "build/build_config.h"
#include "gpu/gpu_export.h"
+#ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES
+
+namespace {
+#include "gpu/command_buffer/service/gpu_switches.cc"
+}
+
+#else
+
namespace switches {
GPU_EXPORT extern const char kCompileShaderAlwaysSucceeds[];
@@ -35,5 +45,5 @@ GPU_EXPORT extern const int kNumGpuSwitches;
} // namespace switches
+#endif // ENABLE_FAST_COMMAND_LINE_SWITCHES
#endif // GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
-
« no previous file with comments | « google_apis/google_api_keys.cc ('k') | gpu/command_buffer/service/gpu_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698