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

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

Issue 177183002: Mojo: Include "path/to/foo.mojom.h" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary abspath Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « mojo/shell/dynamic_service_loader.cc ('k') | mojo/shell/service_manager.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 MOJO_SHELL_service_manager_H_ 5 #ifndef MOJO_SHELL_service_manager_H_
6 #define MOJO_SHELL_service_manager_H_ 6 #define MOJO_SHELL_service_manager_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "mojo/public/shell/shell.mojom.h"
12 #include "mojo/public/system/core_cpp.h" 13 #include "mojo/public/system/core_cpp.h"
13 #include "mojom/shell.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace shell { 17 namespace shell {
18 18
19 class ServiceManager { 19 class ServiceManager {
20 public: 20 public:
21 // Interface to allowing default loading behavior to be overridden for a 21 // Interface to allowing default loading behavior to be overridden for a
22 // specific url. 22 // specific url.
23 class Loader { 23 class Loader {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 ServiceFactoryMap url_to_service_factory_; 65 ServiceFactoryMap url_to_service_factory_;
66 typedef std::map<GURL, Loader*> LoaderMap; 66 typedef std::map<GURL, Loader*> LoaderMap;
67 LoaderMap url_to_loader_; 67 LoaderMap url_to_loader_;
68 DISALLOW_COPY_AND_ASSIGN(ServiceManager); 68 DISALLOW_COPY_AND_ASSIGN(ServiceManager);
69 }; 69 };
70 70
71 } // namespace shell 71 } // namespace shell
72 } // namespace mojo 72 } // namespace mojo
73 73
74 #endif // MOJO_SHELL_service_manager_H_ 74 #endif // MOJO_SHELL_service_manager_H_
OLDNEW
« no previous file with comments | « mojo/shell/dynamic_service_loader.cc ('k') | mojo/shell/service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698