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

Unified Diff: components/test_runner/web_task.h

Issue 2357043003: Remove WebCallbackTask (Closed)
Patch Set: remove WebTaskRunner::postTask(base::Closure). git cl format 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
« no previous file with comments | « components/test_runner/test_runner_for_specific_view.cc ('k') | components/test_runner/web_task.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/test_runner/test_runner_for_specific_view.cc ('k') | components/test_runner/web_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698