| 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
|
|
|