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

Unified Diff: mojo/service_manager/service_loader.h

Issue 213313004: Add creation of ServiceManager to Content (2nd try) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add shell_client to mojo_pepper_container_app 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/service_manager/service_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/service_manager/service_loader.h
diff --git a/mojo/service_manager/service_loader.h b/mojo/service_manager/service_loader.h
index 7da0540d427482fe39871aae8f2b31ffb6aec88a..6d5be9a8aa618cd1c499808726e8505f4e9fb253 100644
--- a/mojo/service_manager/service_loader.h
+++ b/mojo/service_manager/service_loader.h
@@ -6,6 +6,7 @@
#define MOJO_SERVICE_MANAGER_SERVICE_LOADER_H_
#include "mojo/public/shell/shell.mojom.h"
+#include "mojo/service_manager/service_manager_export.h"
#include "url/gurl.h"
namespace mojo {
@@ -14,12 +15,14 @@ class ServiceManager;
// Interface to allowing default loading behavior to be overridden for a
// specific url.
-class ServiceLoader {
+class MOJO_SERVICE_MANAGER_EXPORT ServiceLoader {
public:
virtual ~ServiceLoader() {};
virtual void LoadService(ServiceManager* manager,
const GURL& url,
ScopedShellHandle service_handle) = 0;
+ virtual void OnServiceError(ServiceManager* manager, const GURL& url) = 0;
+
protected:
ServiceLoader() {}
};
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/service_manager/service_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698