| 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_SHELL_CONTEXT_H_ | 5 #ifndef MOJO_SHELL_CONTEXT_H_ |
| 6 #define MOJO_SHELL_CONTEXT_H_ | 6 #define MOJO_SHELL_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "mojo/loader/loader.h" | 8 #include "mojo/shell/loader.h" |
| 9 #include "mojo/shell/storage.h" | 9 #include "mojo/shell/storage.h" |
| 10 #include "mojo/shell/task_runners.h" | 10 #include "mojo/shell/task_runners.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 namespace shell { | 13 namespace shell { |
| 14 | 14 |
| 15 class Context { | 15 class Context { |
| 16 public: | 16 public: |
| 17 Context(); | 17 Context(); |
| 18 ~Context(); | 18 ~Context(); |
| 19 | 19 |
| 20 TaskRunners* task_runners() { return &task_runners_; } | 20 TaskRunners* task_runners() { return &task_runners_; } |
| 21 Storage* storage() { return &storage_; } | 21 Storage* storage() { return &storage_; } |
| 22 loader::Loader* loader() { return &loader_; } | 22 Loader* loader() { return &loader_; } |
| 23 | 23 |
| 24 private: | 24 private: |
| 25 TaskRunners task_runners_; | 25 TaskRunners task_runners_; |
| 26 Storage storage_; | 26 Storage storage_; |
| 27 loader::Loader loader_; | 27 Loader loader_; |
| 28 | 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(Context); | 29 DISALLOW_COPY_AND_ASSIGN(Context); |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 } // namespace shell | 32 } // namespace shell |
| 33 } // namespace mojo | 33 } // namespace mojo |
| 34 | 34 |
| 35 #endif // MOJO_SHELL_CONTEXT_H_ | 35 #endif // MOJO_SHELL_CONTEXT_H_ |
| OLD | NEW |