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

Unified Diff: trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h

Issue 280023002: Revert 269414 "Changes to deletion/ownership of nodes in the cli..." (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
Index: trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h
===================================================================
--- trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h (revision 269420)
+++ trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h (working copy)
@@ -7,7 +7,6 @@
#include "base/basictypes.h"
#include "base/memory/scoped_vector.h"
-#include "base/memory/weak_ptr.h"
#include "mojo/public/cpp/bindings/remote_ptr.h"
#include "mojo/services/public/cpp/view_manager/view_manager_types.h"
#include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h"
@@ -42,8 +41,6 @@
void AddChild(TransportNodeId child_id, TransportNodeId parent_id);
void RemoveChild(TransportNodeId child_id, TransportNodeId parent_id);
- bool OwnsNode(TransportNodeId id) const;
-
private:
friend class ViewManagerTransaction;
typedef ScopedVector<ViewManagerTransaction> Transactions;
@@ -58,7 +55,6 @@
uint32_t new_view_id,
uint32_t old_view_id,
uint32_t change_id) OVERRIDE;
- virtual void OnNodeDeleted(uint32_t node_id, uint32_t change_id) OVERRIDE;
// Called to schedule a sync of the client model with the service after a
// return to the message loop.
@@ -88,8 +84,6 @@
Transactions pending_transactions_;
- base::WeakPtrFactory<ViewManagerSynchronizer> sync_factory_;
-
// Non-NULL while blocking on the connection to |service_| during
// construction.
base::RunLoop* init_loop_;

Powered by Google App Engine
This is Rietveld 408576698