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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.h

Issue 312093005: IndexedDB: Sprinkle DISALLOW_COPY_AND_ASSIGN where appropriate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing private: 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: content/browser/indexed_db/indexed_db_dispatcher_host.h
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.h b/content/browser/indexed_db/indexed_db_dispatcher_host.h
index a69a584404b600cc7c64e5731d122e81e9c9c1cb..c2c78b4f71c43915fd7be6acf7ef14410410c54e 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -149,6 +149,8 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
private:
IDMap<scoped_refptr<RefCountedType>, IDMapOwnPointer> map_;
+
+ DISALLOW_COPY_AND_ASSIGN(RefIDMap);
};
// Helper templates.
@@ -223,6 +225,9 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
TransactionIDToSizeMap transaction_size_map_;
TransactionIDToURLMap transaction_url_map_;
TransactionIDToDatabaseIDMap transaction_database_map_;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DatabaseDispatcherHost);
};
class CursorDispatcherHost {
@@ -252,6 +257,9 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
IndexedDBDispatcherHost* parent_;
RefIDMap<IndexedDBCursor> map_;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CursorDispatcherHost);
};
// The getter holds the context until OnChannelConnected() can be called from
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_unittest.cc ('k') | content/browser/indexed_db/indexed_db_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698