Index: sky/viewer/runtime_flags.h |
diff --git a/sky/viewer/runtime_flags.h b/sky/viewer/runtime_flags.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c2f9e401a6551892baaaadb01d3d9b24da76960f |
--- /dev/null |
+++ b/sky/viewer/runtime_flags.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SKY_VIEWER_RUNTIME_FLAGS_H_ |
+#define SKY_VIEWER_RUNTIME_FLAGS_H_ |
+ |
+namespace mojo { |
+class ApplicationImpl; |
+} |
+ |
+namespace sky { |
+ |
+struct RuntimeFlags { |
eseidel1
2015/01/20 02:04:03
No struct ever stays a struct. I'd just make this
abarth-chromium
2015/01/20 02:47:38
Fixed.
|
+ bool testing; |
eseidel1
2015/01/20 02:04:03
Seems a bit strange, but OK.
|
+ |
+ static void Initialize(mojo::ApplicationImpl* app); |
+ static const RuntimeFlags& Get(); |
+}; |
+ |
+} // namespace sky |
+ |
+#endif // SKY_VIEWER_RUNTIME_FLAGS_H_ |