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

Unified Diff: chrome/renderer/spellchecker/spellcheck_multilingual_unittest.cc

Issue 2177343002: Componentize spellcheck [2]: move common/ files to component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move message generator to component Created 4 years, 5 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 | « chrome/renderer/spellchecker/spellcheck.cc ('k') | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spellcheck_multilingual_unittest.cc
diff --git a/chrome/renderer/spellchecker/spellcheck_multilingual_unittest.cc b/chrome/renderer/spellchecker/spellcheck_multilingual_unittest.cc
index 28fc70ae760eb33a3b8ec756e465e83f4207a0c5..37eaebad6c8a726fceaa616bc4d01cc2d6921b0c 100644
--- a/chrome/renderer/spellchecker/spellcheck_multilingual_unittest.cc
+++ b/chrome/renderer/spellchecker/spellcheck_multilingual_unittest.cc
@@ -13,10 +13,10 @@
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
-#include "chrome/common/spellcheck_common.h"
-#include "chrome/common/spellcheck_result.h"
#include "chrome/renderer/spellchecker/spellcheck.h"
#include "chrome/renderer/spellchecker/spellcheck_provider_test.h"
+#include "components/spellcheck/common/spellcheck_common.h"
+#include "components/spellcheck/common/spellcheck_result.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebVector.h"
@@ -61,9 +61,9 @@ class MultilingualSpellCheckTest : public testing::Test {
unsplit_languages, ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
for (const auto& language : languages) {
- base::File file(chrome::spellcheck_common::GetVersionedFileName(
- language, hunspell_directory),
- base::File::FLAG_OPEN | base::File::FLAG_READ);
+ base::File file(
+ spellcheck::GetVersionedFileName(language, hunspell_directory),
+ base::File::FLAG_OPEN | base::File::FLAG_READ);
spellcheck_->AddSpellcheckLanguage(std::move(file), language);
}
}
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck.cc ('k') | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698