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

Unified Diff: mojo/shell/application_loader.h

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . Created 4 years, 10 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/services/tracing/manifest.json ('k') | mojo/shell/application_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_loader.h
diff --git a/mojo/shell/application_loader.h b/mojo/shell/application_loader.h
index dee95447ff19bee96ce0d7458a2f172c13fb83be..64725c267a9c73c4807ef4a23acbb94074ca2718 100644
--- a/mojo/shell/application_loader.h
+++ b/mojo/shell/application_loader.h
@@ -9,26 +9,17 @@
#include "mojo/public/cpp/system/core.h"
#include "mojo/shell/public/interfaces/shell.mojom.h"
#include "mojo/shell/public/interfaces/shell_client.mojom.h"
-#include "url/gurl.h"
namespace mojo {
-
-class Application;
-
namespace shell {
-class ApplicationManager;
-
-// Interface to implement special application loading behavior for a particular
-// URL or scheme.
+// Interface to implement special loading behavior for a particular name.
class ApplicationLoader {
public:
virtual ~ApplicationLoader() {}
- virtual void Load(const GURL& url, mojom::ShellClientRequest request) = 0;
-
- protected:
- ApplicationLoader() {}
+ virtual void Load(const std::string& name,
+ mojom::ShellClientRequest request) = 0;
};
} // namespace shell
« no previous file with comments | « mojo/services/tracing/manifest.json ('k') | mojo/shell/application_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698