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

Unified Diff: trunk/src/mojo/services/view_manager/view_manager_connection_unittest.cc

Issue 286653003: Revert 270122 "Synchronizes View instances across clients." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 | « trunk/src/mojo/services/view_manager/view_manager_connection.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/services/view_manager/view_manager_connection_unittest.cc
===================================================================
--- trunk/src/mojo/services/view_manager/view_manager_connection_unittest.cc (revision 270124)
+++ trunk/src/mojo/services/view_manager/view_manager_connection_unittest.cc (working copy)
@@ -239,17 +239,6 @@
NodeIdToString(node).c_str()));
QuitIfNecessary();
}
- virtual void OnViewDeleted(TransportViewId view,
- TransportChangeId server_change_id,
- TransportChangeId client_change_id) OVERRIDE {
- changes_.push_back(
- base::StringPrintf(
- "ViewDeleted change_id=%d,%d view=%s",
- static_cast<int>(client_change_id),
- static_cast<int>(client_change_id),
- NodeIdToString(view).c_str()));
- QuitIfNecessary();
- }
virtual void OnNodeViewReplaced(TransportNodeId node,
TransportViewId new_view_id,
TransportViewId old_view_id,
@@ -694,7 +683,7 @@
client_.DoRunLoopUntilChangesCount(1);
Changes changes(client_.GetAndClearChanges());
- ASSERT_EQ(2u, changes.size());
+ ASSERT_EQ(1u, changes.size());
EXPECT_EQ("change_id=0 node=1,1 new_view=null old_view=2,51", changes[0]);
}
}
« no previous file with comments | « trunk/src/mojo/services/view_manager/view_manager_connection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698