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

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

Issue 423613002: Mojo: split up service_provider.mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/service_manager/BUILD.gn ('k') | mojo/service_manager/service_manager.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SERVICE_MANAGER_SERVICE_LOADER_H_ 5 #ifndef MOJO_SERVICE_MANAGER_SERVICE_LOADER_H_
6 #define MOJO_SERVICE_MANAGER_SERVICE_LOADER_H_ 6 #define MOJO_SERVICE_MANAGER_SERVICE_LOADER_H_
7 7
8 #include "mojo/public/cpp/system/core.h" 8 #include "mojo/public/cpp/system/core.h"
9 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
10 #include "mojo/service_manager/service_manager_export.h" 9 #include "mojo/service_manager/service_manager_export.h"
11 #include "url/gurl.h" 10 #include "url/gurl.h"
12 11
13 namespace mojo { 12 namespace mojo {
14 13
15 class ServiceManager; 14 class ServiceManager;
16 15
17 // Interface to allowing loading behavior to be established for schemes, 16 // Interface to allowing loading behavior to be established for schemes,
18 // specific urls or as the default. 17 // specific urls or as the default.
19 // A ServiceLoader is responsible to using whatever mechanism is appropriate 18 // A ServiceLoader is responsible to using whatever mechanism is appropriate
(...skipping 10 matching lines...) Expand all
30 ScopedMessagePipeHandle shell_handle) = 0; 29 ScopedMessagePipeHandle shell_handle) = 0;
31 virtual void OnServiceError(ServiceManager* manager, const GURL& url) = 0; 30 virtual void OnServiceError(ServiceManager* manager, const GURL& url) = 0;
32 31
33 protected: 32 protected:
34 ServiceLoader() {} 33 ServiceLoader() {}
35 }; 34 };
36 35
37 } // namespace mojo 36 } // namespace mojo
38 37
39 #endif // MOJO_SERVICE_MANAGER_SERVICE_LOADER_H_ 38 #endif // MOJO_SERVICE_MANAGER_SERVICE_LOADER_H_
OLDNEW
« no previous file with comments | « mojo/service_manager/BUILD.gn ('k') | mojo/service_manager/service_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698