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

Side by Side Diff: content/browser/indexed_db/mock_indexed_db_callbacks.cc

Issue 2386683003: IndexedDB: Ignore open/delete requests from terminated renderers. (Closed)
Patch Set: Allow deletes to proceed Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « content/browser/indexed_db/mock_indexed_db_callbacks.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 15 matching lines...) Expand all
26 void MockIndexedDBCallbacks::OnSuccess(const std::vector<base::string16>&) {} 26 void MockIndexedDBCallbacks::OnSuccess(const std::vector<base::string16>&) {}
27 27
28 void MockIndexedDBCallbacks::OnSuccess(const IndexedDBKey& key) {} 28 void MockIndexedDBCallbacks::OnSuccess(const IndexedDBKey& key) {}
29 29
30 void MockIndexedDBCallbacks::OnSuccess( 30 void MockIndexedDBCallbacks::OnSuccess(
31 std::unique_ptr<IndexedDBConnection> connection, 31 std::unique_ptr<IndexedDBConnection> connection,
32 const IndexedDBDatabaseMetadata& metadata) { 32 const IndexedDBDatabaseMetadata& metadata) {
33 connection_ = std::move(connection); 33 connection_ = std::move(connection);
34 } 34 }
35 35
36 bool MockIndexedDBCallbacks::IsValid() const {
37 return true;
38 }
39
36 } // namespace content 40 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/mock_indexed_db_callbacks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698