Commit 5ac9ece1 authored by Fredrik Söderquist's avatar Fredrik Söderquist Committed by Commit Bot

Remove 'using' directives in web_idb_cursor_impl_unittest.cc

All of the 'blink::*' directives should be unnecessary (now that the code
is within Blink.) Remove the testing::StrictMock 'using' too, and just
"expand" it at its single usage point.

Change-Id: I3171d05f41364fa134c2ee781e93178d831d4eab
Reviewed-on: https://chromium-review.googlesource.com/c/1301458
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: default avatarVictor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603049}
parent dcd7d28a
...@@ -20,17 +20,6 @@ ...@@ -20,17 +20,6 @@
#include "third_party/blink/renderer/platform/testing/testing_platform_support.h" #include "third_party/blink/renderer/platform/testing/testing_platform_support.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h" #include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
using blink::IndexedDBKey;
using blink::WebBlobInfo;
using blink::WebData;
using blink::WebIDBCallbacks;
using blink::WebIDBKey;
using blink::kWebIDBKeyTypeNumber;
using blink::WebIDBValue;
using blink::WebString;
using blink::WebVector;
using testing::StrictMock;
namespace blink { namespace blink {
namespace { namespace {
...@@ -90,7 +79,7 @@ class MockCursorImpl : public mojom::blink::IDBCursor { ...@@ -90,7 +79,7 @@ class MockCursorImpl : public mojom::blink::IDBCursor {
mojo::AssociatedBinding<IDBCursor> binding_; mojo::AssociatedBinding<IDBCursor> binding_;
}; };
class MockContinueCallbacks : public StrictMock<MockWebIDBCallbacks> { class MockContinueCallbacks : public testing::StrictMock<MockWebIDBCallbacks> {
public: public:
MockContinueCallbacks(IndexedDBKey* key = nullptr, MockContinueCallbacks(IndexedDBKey* key = nullptr,
WebVector<WebBlobInfo>* blobs = nullptr) WebVector<WebBlobInfo>* blobs = nullptr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment