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

Unified Diff: core/cross/object_manager.h

Issue 155276: Add ClientInfo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 5 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: core/cross/object_manager.h
===================================================================
--- core/cross/object_manager.h (revision 20119)
+++ core/cross/object_manager.h (working copy)
@@ -39,6 +39,7 @@
#include "core/cross/object_base.h"
#include "core/cross/named_object.h"
#include "core/cross/service_implementation.h"
+#include "core/cross/service_dependency.h"
#include "core/cross/types.h"
#include "core/cross/error.h"
@@ -50,7 +51,6 @@
// lists of objects can be found based on various criteria.
class ObjectManager {
public:
-
static const InterfaceId kInterfaceId;
explicit ObjectManager(ServiceLocator* service_locator);
@@ -183,8 +183,11 @@
// Destroys all registered packs.
void DestroyAllPacks();
+ size_t GetNumObjects() const {
+ return object_map_.size();
+ }
+
private:
-
typedef std::vector<SmartPointer<Pack> > PackRefArray;
// Dictionary of Objects indexed by their unique ID

Powered by Google App Engine
This is Rietveld 408576698