OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 SKY_VIEWER_RUNTIME_FLAGS_H_ | 5 #ifndef SERVICES_SKY_RUNTIME_FLAGS_H_ |
6 #define SKY_VIEWER_RUNTIME_FLAGS_H_ | 6 #define SERVICES_SKY_RUNTIME_FLAGS_H_ |
7 | 7 |
8 namespace mojo { | 8 namespace mojo { |
9 class ApplicationImpl; | 9 class ApplicationImpl; |
10 } | 10 } |
11 | 11 |
12 namespace sky { | 12 namespace sky { |
13 | 13 |
14 class RuntimeFlags { | 14 class RuntimeFlags { |
15 public: | 15 public: |
16 static void Initialize(mojo::ApplicationImpl* app); | 16 static void Initialize(mojo::ApplicationImpl* app); |
17 static const RuntimeFlags& Get(); | 17 static const RuntimeFlags& Get(); |
18 | 18 |
19 bool testing() const { return testing_; } | 19 bool testing() const { return testing_; } |
20 | 20 |
21 private: | 21 private: |
22 bool testing_; | 22 bool testing_; |
23 }; | 23 }; |
24 | 24 |
25 } // namespace sky | 25 } // namespace sky |
26 | 26 |
27 #endif // SKY_VIEWER_RUNTIME_FLAGS_H_ | 27 #endif // SERVICES_SKY_RUNTIME_FLAGS_H_ |
OLD | NEW |