Index: content/browser/indexed_db/mock_indexed_db_callbacks.cc |
diff --git a/content/browser/indexed_db/mock_indexed_db_callbacks.cc b/content/browser/indexed_db/mock_indexed_db_callbacks.cc |
deleted file mode 100644 |
index 0d5c2bd01a35f1e1ee332346b0d8ead882566485..0000000000000000000000000000000000000000 |
--- a/content/browser/indexed_db/mock_indexed_db_callbacks.cc |
+++ /dev/null |
@@ -1,36 +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. |
- |
-#include "content/browser/indexed_db/mock_indexed_db_callbacks.h" |
- |
-#include <utility> |
- |
-#include "testing/gtest/include/gtest/gtest.h" |
- |
-namespace content { |
- |
-MockIndexedDBCallbacks::MockIndexedDBCallbacks() |
- : IndexedDBCallbacks(NULL, 0, 0), expect_connection_(true) {} |
-MockIndexedDBCallbacks::MockIndexedDBCallbacks(bool expect_connection) |
- : IndexedDBCallbacks(NULL, 0, 0), expect_connection_(expect_connection) {} |
- |
-MockIndexedDBCallbacks::~MockIndexedDBCallbacks() { |
- EXPECT_EQ(expect_connection_, !!connection_); |
-} |
- |
-void MockIndexedDBCallbacks::OnSuccess() {} |
- |
-void MockIndexedDBCallbacks::OnSuccess(int64_t result) {} |
- |
-void MockIndexedDBCallbacks::OnSuccess(const std::vector<base::string16>&) {} |
- |
-void MockIndexedDBCallbacks::OnSuccess(const IndexedDBKey& key) {} |
- |
-void MockIndexedDBCallbacks::OnSuccess( |
- std::unique_ptr<IndexedDBConnection> connection, |
- const IndexedDBDatabaseMetadata& metadata) { |
- connection_ = std::move(connection); |
-} |
- |
-} // namespace content |