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

Unified Diff: components/test_runner/mock_web_media_stream_center.h

Issue 1852603002: Replacing most of web_task.h with base::Closure + base::WeakPtrFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-mocks-to-test-runner
Patch Set: Rebasing... Created 4 years, 8 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/mock_web_media_stream_center.h
diff --git a/components/test_runner/mock_web_media_stream_center.h b/components/test_runner/mock_web_media_stream_center.h
index 7826bdec3af9e6091d2c533d55805dd3b88432e0..8bd68fb35dd84c1ff4d3e33a29931515a9a85300 100644
--- a/components/test_runner/mock_web_media_stream_center.h
+++ b/components/test_runner/mock_web_media_stream_center.h
@@ -6,7 +6,6 @@
#define COMPONENTS_TEST_RUNNER_MOCK_WEB_MEDIA_STREAM_CENTER_H_
#include "base/macros.h"
-#include "components/test_runner/web_task.h"
#include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
namespace blink {
@@ -20,9 +19,8 @@ class TestInterfaces;
class MockWebMediaStreamCenter : public blink::WebMediaStreamCenter {
public:
- MockWebMediaStreamCenter(blink::WebMediaStreamCenterClient* client,
- TestInterfaces* interfaces);
- ~MockWebMediaStreamCenter() override;
+ MockWebMediaStreamCenter() = default;
+ ~MockWebMediaStreamCenter() override {};
void didEnableMediaStreamTrack(
const blink::WebMediaStreamTrack& track) override;
@@ -41,8 +39,6 @@ class MockWebMediaStreamCenter : public blink::WebMediaStreamCenter {
const blink::WebMediaStreamTrack& track) override;
private:
- WebTaskList task_list_;
-
DISALLOW_COPY_AND_ASSIGN(MockWebMediaStreamCenter);
};
« no previous file with comments | « components/test_runner/mock_color_chooser.cc ('k') | components/test_runner/mock_web_media_stream_center.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698