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

Unified Diff: content/browser/indexed_db/indexed_db_browsertest.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/browser/indexed_db/indexed_db_browsertest.cc
diff --git a/content/browser/indexed_db/indexed_db_browsertest.cc b/content/browser/indexed_db/indexed_db_browsertest.cc
index 98da8c0b8a1a0b26a3741f99036af2dea4731868..2fb57de8060e3cdd9f2c820501b76588d631d3b4 100644
--- a/content/browser/indexed_db/indexed_db_browsertest.cc
+++ b/content/browser/indexed_db/indexed_db_browsertest.cc
@@ -132,6 +132,8 @@ class IndexedDBBrowserTest : public ContentBrowserTest {
}
int64 disk_usage_;
+
+ DISALLOW_COPY_AND_ASSIGN(IndexedDBBrowserTest);
};
IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) {
@@ -208,10 +210,15 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, Bug109187Test) {
class IndexedDBBrowserTestWithLowQuota : public IndexedDBBrowserTest {
public:
+ IndexedDBBrowserTestWithLowQuota() {}
+
virtual void SetUpOnMainThread() OVERRIDE {
const int kInitialQuotaKilobytes = 5000;
SetQuota(kInitialQuotaKilobytes);
}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(IndexedDBBrowserTestWithLowQuota);
};
IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithLowQuota, QuotaTest) {
@@ -220,9 +227,14 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithLowQuota, QuotaTest) {
class IndexedDBBrowserTestWithGCExposed : public IndexedDBBrowserTest {
public:
+ IndexedDBBrowserTestWithGCExposed() {}
+
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc");
}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(IndexedDBBrowserTestWithGCExposed);
};
IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed,
@@ -250,6 +262,7 @@ static void CopyLevelDBToProfile(Shell* shell,
class IndexedDBBrowserTestWithPreexistingLevelDB : public IndexedDBBrowserTest {
public:
+ IndexedDBBrowserTestWithPreexistingLevelDB() {}
virtual void SetUpOnMainThread() OVERRIDE {
scoped_refptr<IndexedDBContextImpl> context = GetContext();
context->TaskRunner()->PostTask(
@@ -264,6 +277,8 @@ class IndexedDBBrowserTestWithPreexistingLevelDB : public IndexedDBBrowserTest {
virtual std::string EnclosingLevelDBDir() = 0;
+ private:
+ DISALLOW_COPY_AND_ASSIGN(IndexedDBBrowserTestWithPreexistingLevelDB);
};
class IndexedDBBrowserTestWithVersion0Schema : public
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store_unittest.cc ('k') | content/browser/indexed_db/indexed_db_callbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698