| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/indexed_db/mock_indexed_db_callbacks.h" | 5 #include "content/browser/indexed_db/mock_indexed_db_callbacks.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 void MockIndexedDBCallbacks::OnSuccess(const std::vector<base::string16>&) {} | 28 void MockIndexedDBCallbacks::OnSuccess(const std::vector<base::string16>&) {} |
| 29 | 29 |
| 30 void MockIndexedDBCallbacks::OnSuccess(const IndexedDBKey& key) {} | 30 void MockIndexedDBCallbacks::OnSuccess(const IndexedDBKey& key) {} |
| 31 | 31 |
| 32 void MockIndexedDBCallbacks::OnSuccess( | 32 void MockIndexedDBCallbacks::OnSuccess( |
| 33 std::unique_ptr<IndexedDBConnection> connection, | 33 std::unique_ptr<IndexedDBConnection> connection, |
| 34 const IndexedDBDatabaseMetadata& metadata) { | 34 const IndexedDBDatabaseMetadata& metadata) { |
| 35 connection_ = std::move(connection); | 35 connection_ = std::move(connection); |
| 36 } | 36 } |
| 37 | 37 |
| 38 bool MockIndexedDBCallbacks::IsValid() const { | |
| 39 return true; | |
| 40 } | |
| 41 | |
| 42 } // namespace content | 38 } // namespace content |
| OLD | NEW |