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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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/mock_indexed_db_database_callbacks.h
diff --git a/content/browser/indexed_db/mock_indexed_db_database_callbacks.h b/content/browser/indexed_db/mock_indexed_db_database_callbacks.h
deleted file mode 100644
index 20ea2b5430d77ec26cc93402f4ff9ec52d6bbb32..0000000000000000000000000000000000000000
--- a/content/browser/indexed_db/mock_indexed_db_database_callbacks.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_
-#define CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "content/browser/indexed_db/indexed_db_callbacks.h"
-#include "content/browser/indexed_db/indexed_db_connection.h"
-
-namespace content {
-
-class MockIndexedDBDatabaseCallbacks : public IndexedDBDatabaseCallbacks {
- public:
- MockIndexedDBDatabaseCallbacks();
-
- void OnVersionChange(int64_t old_version, int64_t new_version) override {}
- void OnForcedClose() override;
- void OnAbort(int64_t transaction_id,
- const IndexedDBDatabaseError& error) override;
- void OnComplete(int64_t transaction_id) override {}
-
- bool abort_called() const { return abort_called_; }
- bool forced_close_called() const { return forced_close_called_; }
-
- private:
- ~MockIndexedDBDatabaseCallbacks() override {}
-
- bool abort_called_;
- bool forced_close_called_;
-
- DISALLOW_COPY_AND_ASSIGN(MockIndexedDBDatabaseCallbacks);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_

Powered by Google App Engine
This is Rietveld 408576698