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

Unified Diff: content/child/indexed_db/indexed_db_dispatcher_unittest.cc

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/child/indexed_db/indexed_db_dispatcher_unittest.cc
diff --git a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
index dbe43fc6ee135676ce99eff0aede8248da16f131..98f929e7322fbae01ab99d1c05172416b470fc8b 100644
--- a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
+++ b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
@@ -39,6 +39,8 @@ class MockCallbacks : public WebIDBCallbacks {
private:
bool error_seen_;
+
+ DISALLOW_COPY_AND_ASSIGN(MockCallbacks);
};
class MockDispatcher : public IndexedDBDispatcher {
@@ -49,6 +51,9 @@ class MockDispatcher : public IndexedDBDispatcher {
delete msg;
return true;
}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(MockDispatcher);
};
} // namespace
@@ -142,6 +147,8 @@ class CursorCallbacks : public WebIDBCallbacks {
private:
scoped_ptr<WebIDBCursor>* cursor_;
+
+ DISALLOW_COPY_AND_ASSIGN(CursorCallbacks);
};
} // namespace
@@ -248,6 +255,8 @@ class MockCursor : public WebIDBCursorImpl {
private:
int reset_count_;
+
+ DISALLOW_COPY_AND_ASSIGN(MockCursor);
};
} // namespace
« no previous file with comments | « content/browser/indexed_db/leveldb/leveldb_transaction.h ('k') | content/child/indexed_db/indexed_db_key_builders.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698