Commit 88aac992 authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

Clean up service_worker_version_unittest::TestServiceImpl

This CL cleans up service_worker_version_unittest::TestServiceImpl
since it's not used anywhere.

Bug: 955171
Change-Id: I74c800049a2c3ed22775ee9d8f57d5dd6f73c994
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872577
Commit-Queue: Julie Kim <jkim@igalia.com>
Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
Reviewed-by: default avatarKen Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#709031}
parent a67d4e44
......@@ -32,7 +32,6 @@
#include "content/public/test/mock_render_process_host.h"
#include "content/public/test/test_service.mojom.h"
#include "content/public/test/test_utils.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/service_worker/service_worker.mojom.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_event_status.mojom.h"
......@@ -66,40 +65,6 @@ base::Time GetYesterday() {
base::TimeDelta::FromSeconds(1);
}
class TestServiceImpl : public mojom::TestService {
public:
static void Create(mojo::InterfaceRequest<mojom::TestService> request) {
mojo::MakeStrongBinding(base::WrapUnique(new TestServiceImpl),
std::move(request));
}
void DoSomething(DoSomethingCallback callback) override {
std::move(callback).Run();
}
void DoTerminateProcess(DoTerminateProcessCallback callback) override {
NOTREACHED();
}
void DoCrashImmediately(DoCrashImmediatelyCallback callback) override {
NOTREACHED();
}
void CreateFolder(CreateFolderCallback callback) override { NOTREACHED(); }
void GetRequestorName(GetRequestorNameCallback callback) override {
std::move(callback).Run("");
}
void CreateSharedBuffer(const std::string& message,
CreateSharedBufferCallback callback) override {
NOTREACHED();
}
private:
TestServiceImpl() {}
};
class ServiceWorkerVersionTest : public testing::Test {
protected:
using FetchHandlerExistence = blink::mojom::FetchHandlerExistence;
......
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