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

Unified Diff: content/shell/test_runner/mock_spell_check.cc

Issue 2707183003: Move //components/test_runner back into //content/shell (Closed)
Patch Set: Trim DEPS Created 3 years, 10 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/test_runner/mock_spell_check.cc
diff --git a/components/test_runner/mock_spell_check.cc b/content/shell/test_runner/mock_spell_check.cc
similarity index 90%
rename from components/test_runner/mock_spell_check.cc
rename to content/shell/test_runner/mock_spell_check.cc
index 1af1ad9dcf7a7eb4c9a97deb67099c8b838b4720..04268ccda3895f221635a5011a28c393a36bb504 100644
--- a/components/test_runner/mock_spell_check.cc
+++ b/content/shell/test_runner/mock_spell_check.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/test_runner/mock_spell_check.h"
+#include "content/shell/test_runner/mock_spell_check.h"
#include <stddef.h>
@@ -10,7 +10,7 @@
#include "base/logging.h"
#include "base/macros.h"
-#include "components/test_runner/test_common.h"
+#include "content/shell/test_runner/test_common.h"
namespace test_runner {
@@ -27,11 +27,9 @@ void Append(blink::WebVector<blink::WebString>* data,
} // namespace
-MockSpellCheck::MockSpellCheck() : initialized_(false) {
-}
+MockSpellCheck::MockSpellCheck() : initialized_(false) {}
-MockSpellCheck::~MockSpellCheck() {
-}
+MockSpellCheck::~MockSpellCheck() {}
bool MockSpellCheck::SpellCheckWord(const blink::WebString& text,
int* misspelled_offset,
@@ -152,13 +150,11 @@ bool MockSpellCheck::InitializeIfNeeded() {
// These words are known misspelled words in webkit tests.
// If there are other misspelled words in webkit tests, please add them in
// this array.
- "foo", "Foo", "baz", "fo", "LibertyF",
- "chello", "xxxtestxxx", "XXxxx", "Textx", "blockquoted",
- "asd", "Lorem", "Nunc", "Curabitur", "eu",
- "adlj", "adaasj", "sdklj", "jlkds", "jsaada",
- "jlda", "zz", "contentEditable",
+ "foo", "Foo", "baz", "fo", "LibertyF", "chello", "xxxtestxxx", "XXxxx",
+ "Textx", "blockquoted", "asd", "Lorem", "Nunc", "Curabitur", "eu", "adlj",
+ "adaasj", "sdklj", "jlkds", "jsaada", "jlda", "zz", "contentEditable",
// The following words are used by unit tests.
- "ifmmp", "qwertyuiopasd", "qwertyuiopasdf", "upper case", "wellcome"};
+ "ifmmp", "qwertyuiopasd", "qwertyuiopasdf", "upper case", "wellcome"};
misspelled_words_.clear();
for (size_t i = 0; i < arraysize(misspelled_words); ++i)

Powered by Google App Engine
This is Rietveld 408576698