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

Unified Diff: content/public/browser/mojo_app_connection.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 | « content/public/browser/content_browser_client.h ('k') | content/public/test/test_mojo_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/mojo_app_connection.h
diff --git a/content/public/browser/mojo_app_connection.h b/content/public/browser/mojo_app_connection.h
index 4cfa2745154728f2b36ad76d776f4c05f1ad613d..3878825889ef93fe8e2e187cfa168c2797617dd0 100644
--- a/content/public/browser/mojo_app_connection.h
+++ b/content/public/browser/mojo_app_connection.h
@@ -13,8 +13,6 @@
#include "mojo/public/cpp/bindings/interface_request.h"
#include "mojo/public/cpp/system/message_pipe.h"
-class GURL;
-
namespace content {
// A virtual app URL identifying the browser itself. This should be used for
@@ -29,11 +27,12 @@ class CONTENT_EXPORT MojoAppConnection {
public:
virtual ~MojoAppConnection() {}
- // Creates a new connection to the application at |url| using |requestor_url|
- // to identify the requestor upon connection. This may be called from any
- // thread.
- static scoped_ptr<MojoAppConnection> Create(const GURL& url,
- const GURL& requestor_url);
+ // Creates a new connection to the application at |name| using
+ // |requestor_name| to identify the requestor upon connection. This may be
+ // called from any thread.
+ static scoped_ptr<MojoAppConnection> Create(
+ const std::string& name,
+ const std::string& requestor_name);
// Connects to a service within the application.
template <typename Interface>
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/test/test_mojo_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698