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

Unified Diff: content/browser/indexed_db/mock_indexed_db_open_request_observer.cc

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_open_request_observer.cc
diff --git a/content/browser/indexed_db/mock_indexed_db_open_request_observer.cc b/content/browser/indexed_db/mock_indexed_db_open_request_observer.cc
new file mode 100644
index 0000000000000000000000000000000000000000..72e48adebe6c7dcf15c623417a3305591ca16b54
--- /dev/null
+++ b/content/browser/indexed_db/mock_indexed_db_open_request_observer.cc
@@ -0,0 +1,23 @@
+// Copyright 2016 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_open_request_observer.h"
+
+namespace content {
+
+MockIndexedDBOpenRequestObserver::MockIndexedDBOpenRequestObserver() {}
+
+MockIndexedDBOpenRequestObserver::~MockIndexedDBOpenRequestObserver() {}
+
+void MockIndexedDBOpenRequestObserver::OnBlocked(int64_t old_version) {
+ blocked_called_ = true;
+}
+
+void MockIndexedDBOpenRequestObserver::OnUpgradeNeeded(
+ int64_t old_version,
+ IndexedDBConnection* connection,
+ const content::IndexedDBDataLossInfo& data_loss_info,
+ const IndexedDBDatabaseMetadata& index_metadata) {}
+
+} // namespace content
« no previous file with comments | « content/browser/indexed_db/mock_indexed_db_open_request_observer.h ('k') | content/browser/indexed_db/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698