Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: mojo/runner/context.h

Issue 1091513005: Separate mojo/shell into a runner and the application manager (shell) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/runner/child_process_host_unittest.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « mojo/runner/child_process_host_unittest.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698