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

Unified Diff: mojo/services/view_manager/connection_manager.cc

Issue 514063003: Update view_manager and window_manager to make use of content handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@viewman2
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/view_manager/connection_manager.cc
diff --git a/mojo/services/view_manager/connection_manager.cc b/mojo/services/view_manager/connection_manager.cc
index bc1f21db0bfc989cebf896ac4db3e60ec11fe1e9..f73660dc3c9e83a5d35c5582e2be70ee6d744f6f 100644
--- a/mojo/services/view_manager/connection_manager.cc
+++ b/mojo/services/view_manager/connection_manager.cc
@@ -130,18 +130,6 @@ bool ConnectionManager::DidConnectionMessageClient(
return current_change_ && current_change_->DidMessageConnection(id);
}
-ViewManagerServiceImpl* ConnectionManager::GetConnectionByCreator(
- ConnectionSpecificId creator_id,
- const std::string& url) const {
- for (ConnectionMap::const_iterator i = connection_map_.begin();
- i != connection_map_.end();
- ++i) {
- if (i->second->creator_id() == creator_id && i->second->url() == url)
- return i->second;
- }
- return NULL;
-}
-
const ViewManagerServiceImpl* ConnectionManager::GetConnectionWithRoot(
const ViewId& id) const {
for (ConnectionMap::const_iterator i = connection_map_.begin();

Powered by Google App Engine
This is Rietveld 408576698