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

Unified Diff: content/shell/renderer/test_runner/MockWebMIDIAccessor.cpp

Issue 263823011: test_runner: Move more Mock* files into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: content/shell/renderer/test_runner/MockWebMIDIAccessor.cpp
diff --git a/content/shell/renderer/test_runner/MockWebMIDIAccessor.cpp b/content/shell/renderer/test_runner/MockWebMIDIAccessor.cpp
index 383f6a424356da3f0a6a133e08db69ef39a0cc1f..0256283c3d3591b4064fa3d39615971b91785e4f 100644
--- a/content/shell/renderer/test_runner/MockWebMIDIAccessor.cpp
+++ b/content/shell/renderer/test_runner/MockWebMIDIAccessor.cpp
@@ -11,13 +11,16 @@
#include "third_party/WebKit/public/platform/WebMIDIAccessorClient.h"
using namespace blink;
+using WebTestRunner::TestInterfaces;
+
+namespace content {
namespace {
-class DidStartSessionTask : public WebTestRunner::WebMethodTask<WebTestRunner::MockWebMIDIAccessor> {
+class DidStartSessionTask : public WebTestRunner::WebMethodTask<MockWebMIDIAccessor> {
public:
- DidStartSessionTask(WebTestRunner::MockWebMIDIAccessor* object, blink::WebMIDIAccessorClient* client, bool result)
- : WebMethodTask<WebTestRunner::MockWebMIDIAccessor>(object)
+ DidStartSessionTask(MockWebMIDIAccessor* object, blink::WebMIDIAccessorClient* client, bool result)
+ : WebMethodTask<MockWebMIDIAccessor>(object)
, m_client(client)
, m_result(result)
{
@@ -33,9 +36,7 @@ private:
bool m_result;
};
-} // namespace
-
-namespace WebTestRunner {
+} // namespace
MockWebMIDIAccessor::MockWebMIDIAccessor(blink::WebMIDIAccessorClient* client, TestInterfaces* interfaces)
: m_client(client)
@@ -55,4 +56,4 @@ void MockWebMIDIAccessor::startSession()
m_interfaces->delegate()->postTask(new DidStartSessionTask(this, m_client, m_interfaces->testRunner()->midiAccessorResult()));
}
-} // namespace WebTestRunner
+} // namespace content
« no previous file with comments | « content/shell/renderer/test_runner/MockWebMIDIAccessor.h ('k') | content/shell/renderer/test_runner/SpellCheckClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698