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

Unified Diff: mojo/services/view_manager/view_manager_connection.h

Issue 322923002: Pass embedding app identity through at embed time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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
Index: mojo/services/view_manager/view_manager_connection.h
diff --git a/mojo/services/view_manager/view_manager_connection.h b/mojo/services/view_manager/view_manager_connection.h
index 2c55e1ef12cde769578933418c3ac0c1bf8f750e..71355e17192db955ba4c83d50c1b1c70be097e57 100644
--- a/mojo/services/view_manager/view_manager_connection.h
+++ b/mojo/services/view_manager/view_manager_connection.h
@@ -43,6 +43,7 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection
public:
ViewManagerConnection(RootNodeManager* root_node_manager,
ConnectionSpecificId creator_id,
+ const std::string& creator_url,
const std::string& url);
virtual ~ViewManagerConnection();
@@ -215,6 +216,9 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection
// created by the root, or the connection that created us has been destroyed.
ConnectionSpecificId creator_id_;
+ // The URL of the app that embedded the app this connection was created for.
+ const std::string creator_url_;
+
NodeMap node_map_;
ViewMap view_map_;
« no previous file with comments | « mojo/services/view_manager/test_change_tracker.cc ('k') | mojo/services/view_manager/view_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698