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 SHELL_CONTEXT_H_ | 5 #ifndef MOJO_RUNNER_CONTEXT_H_ |
6 #define SHELL_CONTEXT_H_ | 6 #define MOJO_RUNNER_CONTEXT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "mojo/edk/embedder/process_delegate.h" | 11 #include "mojo/edk/embedder/process_delegate.h" |
12 #include "mojo/shell/application_manager/application_manager.h" | 12 #include "mojo/runner/task_runners.h" |
13 #include "mojo/shell/task_runners.h" | 13 #include "mojo/runner/url_resolver.h" |
14 #include "mojo/shell/url_resolver.h" | 14 #include "mojo/shell/application_manager.h" |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 namespace shell { | 17 namespace shell { |
18 | 18 |
19 class NativeApplicationLoader; | 19 class NativeApplicationLoader; |
20 | 20 |
21 // The "global" context for the shell's main process. | 21 // The "global" context for the shell's main process. |
22 class Context : public ApplicationManager::Delegate, | 22 class Context : public ApplicationManager::Delegate, |
23 public embedder::ProcessDelegate { | 23 public embedder::ProcessDelegate { |
24 public: | 24 public: |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 URLResolver url_resolver_; | 77 URLResolver url_resolver_; |
78 GURL shell_file_root_; | 78 GURL shell_file_root_; |
79 GURL command_line_cwd_; | 79 GURL command_line_cwd_; |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(Context); | 81 DISALLOW_COPY_AND_ASSIGN(Context); |
82 }; | 82 }; |
83 | 83 |
84 } // namespace shell | 84 } // namespace shell |
85 } // namespace mojo | 85 } // namespace mojo |
86 | 86 |
87 #endif // SHELL_CONTEXT_H_ | 87 #endif // MOJO_RUNNER_CONTEXT_H_ |
OLD | NEW |