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

Unified Diff: content/shell/renderer/test_runner/WebUserMediaClientMock.h

Issue 308073011: test_runner: Migrate WebUserMediaClientMock to our Chromium C++ style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « content/content_shell.gypi ('k') | content/shell/renderer/test_runner/WebUserMediaClientMock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/WebUserMediaClientMock.h
diff --git a/content/shell/renderer/test_runner/WebUserMediaClientMock.h b/content/shell/renderer/test_runner/WebUserMediaClientMock.h
deleted file mode 100644
index d7237f51c60846a3b690537aa17b46e0ebf65ae5..0000000000000000000000000000000000000000
--- a/content/shell/renderer/test_runner/WebUserMediaClientMock.h
+++ /dev/null
@@ -1,41 +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 CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBUSERMEDIACLIENTMOCK_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBUSERMEDIACLIENTMOCK_H_
-
-#include "base/basictypes.h"
-#include "content/shell/renderer/test_runner/TestCommon.h"
-#include "content/shell/renderer/test_runner/WebTask.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-#include "third_party/WebKit/public/platform/WebURL.h"
-#include "third_party/WebKit/public/web/WebUserMediaClient.h"
-
-namespace content {
-
-class WebTestDelegate;
-
-class WebUserMediaClientMock : public blink::WebUserMediaClient {
-public:
- explicit WebUserMediaClientMock(WebTestDelegate*);
- virtual ~WebUserMediaClientMock() { }
-
- virtual void requestUserMedia(const blink::WebUserMediaRequest&) OVERRIDE;
- virtual void cancelUserMediaRequest(const blink::WebUserMediaRequest&) OVERRIDE;
- virtual void requestMediaDevices(const blink::WebMediaDevicesRequest&) OVERRIDE;
- virtual void cancelMediaDevicesRequest(const blink::WebMediaDevicesRequest&) OVERRIDE;
-
- // Task related methods
- WebTaskList* mutable_task_list() { return &m_taskList; }
-
-private:
- WebTaskList m_taskList;
- WebTestDelegate* m_delegate;
-
- DISALLOW_COPY_AND_ASSIGN(WebUserMediaClientMock);
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBUSERMEDIACLIENTMOCK_H_
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/renderer/test_runner/WebUserMediaClientMock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698