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

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

Issue 47433002: Cleanup mojo_shell and sample_app a bit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « mojo/shell/app_container.h ('k') | mojo/shell/loader.h » ('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 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_
OLDNEW
« no previous file with comments | « mojo/shell/app_container.h ('k') | mojo/shell/loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698