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

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

Issue 123243002: Replace WebNonCopyable with DISALLOW_COPY_AND_ASSIGN in test runner library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 6 years, 12 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 2953a5f370b231cbc1e7fc17c3951e58d267a5e9..fe21c8403b946f8afd6c0ae971517af0621dd731 100644
--- a/content/shell/renderer/test_runner/MockWebMIDIAccessor.h
+++ b/content/shell/renderer/test_runner/MockWebMIDIAccessor.h
@@ -5,10 +5,10 @@
#ifndef MockWebMIDIAccessor_h
#define MockWebMIDIAccessor_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/WebMIDIAccessor.h"
-#include "third_party/WebKit/public/platform/WebNonCopyable.h"
namespace blink {
class WebMIDIAccessorClient;
@@ -18,7 +18,7 @@ namespace WebTestRunner {
class TestInterfaces;
-class MockWebMIDIAccessor : public blink::WebMIDIAccessor, public blink::WebNonCopyable {
+class MockWebMIDIAccessor : public blink::WebMIDIAccessor {
public:
explicit MockWebMIDIAccessor(blink::WebMIDIAccessorClient*, TestInterfaces*);
virtual ~MockWebMIDIAccessor();
@@ -38,6 +38,8 @@ private:
blink::WebMIDIAccessorClient* m_client;
WebTaskList m_taskList;
TestInterfaces* m_interfaces;
+
+ DISALLOW_COPY_AND_ASSIGN(MockWebMIDIAccessor);
};
} // namespace WebTestRunner
« no previous file with comments | « content/shell/renderer/test_runner/MockWebAudioDevice.h ('k') | content/shell/renderer/test_runner/MockWebMediaStreamCenter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698