| // 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 { |
| |
| class RuntimeFlags { |
| public: |
| static void Initialize(mojo::ApplicationImpl* app); |
| static const RuntimeFlags& Get(); |
| |
| bool testing() const { return testing_; } |
| |
| private: |
| bool testing_; |
| }; |
| |
| } // namespace sky |
| |
| #endif // SKY_VIEWER_RUNTIME_FLAGS_H_ |