OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MOJO_PUBLIC_UTILITY_ENVIRONMENT_H_ | 5 #ifndef MOJO_PUBLIC_UTILITY_ENVIRONMENT_H_ |
6 #define MOJO_PUBLIC_UTILITY_ENVIRONMENT_H_ | 6 #define MOJO_PUBLIC_UTILITY_ENVIRONMENT_H_ |
7 | 7 |
8 #include "mojo/public/system/macros.h" | 8 #include "mojo/public/system/macros.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
11 namespace utility { | |
12 | 11 |
13 namespace internal { | 12 namespace internal { |
14 class BindingsSupportImpl; | 13 class BindingsSupportImpl; |
15 } // namespace internal | 14 } // namespace internal |
16 | 15 |
17 class RunLoop; | 16 class RunLoop; |
18 | 17 |
19 // Use Environment to cofigure state. | 18 // Use Environment to cofigure state. |
20 class Environment { | 19 class Environment { |
21 public: | 20 public: |
22 Environment(); | 21 Environment(); |
23 ~Environment(); | 22 ~Environment(); |
24 | 23 |
25 private: | 24 private: |
26 internal::BindingsSupportImpl* bindings_support_; | 25 internal::BindingsSupportImpl* bindings_support_; |
27 | 26 |
28 MOJO_DISALLOW_COPY_AND_ASSIGN(Environment); | 27 MOJO_DISALLOW_COPY_AND_ASSIGN(Environment); |
29 }; | 28 }; |
30 | 29 |
31 } // namespace utility | |
32 } // namespace mojo | 30 } // namespace mojo |
33 | 31 |
34 #endif // MOJO_PUBLIC_UTILITY_ENVIRONMENT_H_ | 32 #endif // MOJO_PUBLIC_UTILITY_ENVIRONMENT_H_ |
OLD | NEW |