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

Unified Diff: content/shell/renderer/test_runner/NotificationPresenter.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/NotificationPresenter.h
diff --git a/content/shell/renderer/test_runner/NotificationPresenter.h b/content/shell/renderer/test_runner/NotificationPresenter.h
index a680a3add235f3dbe238643fcf2f8153b5b645b0..abc4eb6bc217d410aba0b809890d38068ca69c29 100644
--- a/content/shell/renderer/test_runner/NotificationPresenter.h
+++ b/content/shell/renderer/test_runner/NotificationPresenter.h
@@ -9,7 +9,7 @@
#include <set>
#include <string>
-#include "third_party/WebKit/public/platform/WebNonCopyable.h"
+#include "base/basictypes.h"
#include "third_party/WebKit/public/web/WebNotification.h"
#include "third_party/WebKit/public/web/WebNotificationPresenter.h"
@@ -18,7 +18,7 @@ namespace WebTestRunner {
class WebTestDelegate;
// A class that implements WebNotificationPresenter for the TestRunner library.
-class NotificationPresenter : public blink::WebNotificationPresenter, public blink::WebNonCopyable {
+class NotificationPresenter : public blink::WebNotificationPresenter {
public:
NotificationPresenter();
virtual ~NotificationPresenter();
@@ -54,6 +54,8 @@ private:
// Map of active replacement IDs to the titles of those notifications
std::map<std::string, std::string> m_replacements;
+
+ DISALLOW_COPY_AND_ASSIGN(NotificationPresenter);
};
}
« no previous file with comments | « content/shell/renderer/test_runner/MockWebSpeechRecognizer.h ('k') | content/shell/renderer/test_runner/SpellCheckClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698