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

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

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.h
diff --git a/content/shell/renderer/test_runner/MockWebMIDIAccessor.h b/content/shell/renderer/test_runner/MockWebMIDIAccessor.h
index 6298d35f02a9b43d1708b407c5c61c3583ae5bb6..06fb206d19af371c88877cb71fa3543e1f83f3fc 100644
--- a/content/shell/renderer/test_runner/MockWebMIDIAccessor.h
+++ b/content/shell/renderer/test_runner/MockWebMIDIAccessor.h
@@ -15,33 +15,34 @@ class WebMIDIAccessorClient;
}
namespace WebTestRunner {
-
class TestInterfaces;
+}
+
+namespace content {
class MockWebMIDIAccessor : public blink::WebMIDIAccessor {
public:
- explicit MockWebMIDIAccessor(blink::WebMIDIAccessorClient*, TestInterfaces*);
+ explicit MockWebMIDIAccessor(blink::WebMIDIAccessorClient*, WebTestRunner::TestInterfaces*);
virtual ~MockWebMIDIAccessor();
// blink::WebMIDIAccessor implementation.
virtual void startSession() OVERRIDE;
- virtual void sendMIDIData(
- unsigned portIndex,
- const unsigned char* data,
- size_t length,
- double timestamp) OVERRIDE { }
+ virtual void sendMIDIData(unsigned portIndex,
+ const unsigned char* data,
+ size_t length,
+ double timestamp) OVERRIDE {}
// WebTask related methods
- WebTaskList* taskList() { return &m_taskList; }
+ WebTestRunner::WebTaskList* taskList() { return &m_taskList; }
private:
blink::WebMIDIAccessorClient* m_client;
- WebTaskList m_taskList;
- TestInterfaces* m_interfaces;
+ WebTestRunner::WebTaskList m_taskList;
+ WebTestRunner::TestInterfaces* m_interfaces;
DISALLOW_COPY_AND_ASSIGN(MockWebMIDIAccessor);
};
-} // namespace WebTestRunner
+} // namespace content
#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBMIDIACCESSOR_H_
« no previous file with comments | « content/shell/renderer/test_runner/MockWebAudioDevice.cpp ('k') | content/shell/renderer/test_runner/MockWebMIDIAccessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698