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

Unified Diff: Source/testing/runner/NotificationPresenter.h

Issue 23440025: TestRunner library classes should be marked as NonCopyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 | « Source/testing/runner/MockWebValidationMessageClient.h ('k') | Source/testing/runner/SpellCheckClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/testing/runner/NotificationPresenter.h
diff --git a/Source/testing/runner/NotificationPresenter.h b/Source/testing/runner/NotificationPresenter.h
index 837554b57c4bc05fec32870d77f69cb1ce5d08fd..241151d198f16c0cb9edc5d472db745466485a4a 100644
--- a/Source/testing/runner/NotificationPresenter.h
+++ b/Source/testing/runner/NotificationPresenter.h
@@ -31,6 +31,7 @@
#ifndef NotificationPresenter_h
#define NotificationPresenter_h
+#include "public/platform/WebNonCopyable.h"
#include "public/web/WebNotification.h"
#include "public/web/WebNotificationPresenter.h"
#include <map>
@@ -42,7 +43,7 @@ namespace WebTestRunner {
class WebTestDelegate;
// A class that implements WebNotificationPresenter for the TestRunner library.
-class NotificationPresenter : public WebKit::WebNotificationPresenter {
+class NotificationPresenter : public WebKit::WebNotificationPresenter, public WebKit::WebNonCopyable {
public:
NotificationPresenter();
virtual ~NotificationPresenter();
« no previous file with comments | « Source/testing/runner/MockWebValidationMessageClient.h ('k') | Source/testing/runner/SpellCheckClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698