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

Unified Diff: Source/testing/runner/MockSpellCheck.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/MockColorChooser.h ('k') | Source/testing/runner/MockWebAudioDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/testing/runner/MockSpellCheck.h
diff --git a/Source/testing/runner/MockSpellCheck.h b/Source/testing/runner/MockSpellCheck.h
index e0de93721665b28e8ab71ddca6e4da955650e7fd..99a7a76a5aec82ae3f8dafc1e8e5323bf516f258 100644
--- a/Source/testing/runner/MockSpellCheck.h
+++ b/Source/testing/runner/MockSpellCheck.h
@@ -31,6 +31,7 @@
#ifndef MockSpellCheck_h
#define MockSpellCheck_h
+#include "public/platform/WebNonCopyable.h"
#include "public/platform/WebString.h"
#include "public/platform/WebVector.h"
#include <vector>
@@ -43,7 +44,7 @@ namespace WebTestRunner {
// words in webkit tests and mark them as missspelled.
// Even though this is sufficent for webkit tests, this class is not suitable
// for any other usages.
-class MockSpellCheck {
+class MockSpellCheck : public WebKit::WebNonCopyable {
public:
static void fillSuggestionList(const WebKit::WebString& word, WebKit::WebVector<WebKit::WebString>* suggestions);
« no previous file with comments | « Source/testing/runner/MockColorChooser.h ('k') | Source/testing/runner/MockWebAudioDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698