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

Unified Diff: content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.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/MockWebRTCDataChannelHandler.h
diff --git a/content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.h b/content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.h
index ce99ff8f57ee281d441649b90a74180e32958b08..dae619a1f75686f8c69aa08b91357db6a0a3055c 100644
--- a/content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.h
+++ b/content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.h
@@ -5,9 +5,9 @@
#ifndef MockWebRTCDataChannelHandler_h
#define MockWebRTCDataChannelHandler_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/WebNonCopyable.h"
#include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h"
#include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h"
#include "third_party/WebKit/public/platform/WebString.h"
@@ -16,7 +16,7 @@ namespace WebTestRunner {
class WebTestDelegate;
-class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler, public blink::WebNonCopyable {
+class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler {
public:
MockWebRTCDataChannelHandler(blink::WebString label, const blink::WebRTCDataChannelInit&, WebTestDelegate*);
@@ -46,6 +46,8 @@ private:
bool m_reliable;
WebTaskList m_taskList;
WebTestDelegate* m_delegate;
+
+ DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler);
};
}

Powered by Google App Engine
This is Rietveld 408576698