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

Unified Diff: content/browser/indexed_db/mock_indexed_db_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_callbacks.h
diff --git a/content/browser/indexed_db/mock_indexed_db_callbacks.h b/content/browser/indexed_db/mock_indexed_db_callbacks.h
deleted file mode 100644
index 4ba45a886135d3c27383da68be0bb8994f37dd9c..0000000000000000000000000000000000000000
--- a/content/browser/indexed_db/mock_indexed_db_callbacks.h
+++ /dev/null
@@ -1,44 +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_CALLBACKS_H_
-#define CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_CALLBACKS_H_
-
-#include <stdint.h>
-
-#include <vector>
-
-#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 MockIndexedDBCallbacks : public IndexedDBCallbacks {
- public:
- MockIndexedDBCallbacks();
- explicit MockIndexedDBCallbacks(bool expect_connection);
-
- void OnSuccess() override;
- void OnSuccess(int64_t result) override;
- void OnSuccess(const std::vector<base::string16>& result) override;
- void OnSuccess(const IndexedDBKey& key) override;
- void OnSuccess(std::unique_ptr<IndexedDBConnection> connection,
- const IndexedDBDatabaseMetadata& metadata) override;
- IndexedDBConnection* connection() { return connection_.get(); }
-
- protected:
- ~MockIndexedDBCallbacks() override;
-
- std::unique_ptr<IndexedDBConnection> connection_;
-
- private:
- bool expect_connection_;
-
- DISALLOW_COPY_AND_ASSIGN(MockIndexedDBCallbacks);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_CALLBACKS_H_
« no previous file with comments | « content/browser/indexed_db/mock_callback_factory.cc ('k') | content/browser/indexed_db/mock_indexed_db_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698