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

Unified Diff: components/test_runner/web_task.h

Issue 2357043003: Remove WebCallbackTask (Closed)
Patch Set: fix Created 4 years, 3 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: components/test_runner/web_task.h
diff --git a/components/test_runner/web_task.h b/components/test_runner/web_task.h
deleted file mode 100644
index d8470a2c5eb7e43b20b1d34f24631a1e70c76275..0000000000000000000000000000000000000000
--- a/components/test_runner/web_task.h
+++ /dev/null
@@ -1,30 +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 COMPONENTS_TEST_RUNNER_WEB_TASK_H_
-#define COMPONENTS_TEST_RUNNER_WEB_TASK_H_
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "third_party/WebKit/public/platform/WebTaskRunner.h"
-
-namespace test_runner {
-
-// blink::WebTaskRunner::Task that wraps a base::Closure.
-class WebCallbackTask : public blink::WebTaskRunner::Task {
- public:
- WebCallbackTask(const base::Closure& callback);
- ~WebCallbackTask() override;
-
- void run() override;
-
- private:
- base::Closure callback_;
-
- DISALLOW_COPY_AND_ASSIGN(WebCallbackTask);
-};
-
-} // namespace test_runner
-
-#endif // COMPONENTS_TEST_RUNNER_WEB_TASK_H_

Powered by Google App Engine
This is Rietveld 408576698