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

Unified Diff: chrome/browser/spellchecker/feedback_sender_unittest.cc

Issue 2166683003: Componentize spellcheck [1]: create component and move switches there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + --no-find-copies 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
Index: chrome/browser/spellchecker/feedback_sender_unittest.cc
diff --git a/chrome/browser/spellchecker/feedback_sender_unittest.cc b/chrome/browser/spellchecker/feedback_sender_unittest.cc
index 5b420815320a79a5b40af174294f278bcbc10303..ed68bc416a0fdec8c1d1115d751a6031bc3a0e9c 100644
--- a/chrome/browser/spellchecker/feedback_sender_unittest.cc
+++ b/chrome/browser/spellchecker/feedback_sender_unittest.cc
@@ -17,11 +17,11 @@
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
-#include "chrome/common/chrome_switches.h"
#include "chrome/common/spellcheck_common.h"
#include "chrome/common/spellcheck_marker.h"
#include "chrome/common/spellcheck_result.h"
#include "chrome/test/base/testing_profile.h"
+#include "components/spellcheck/common/spellcheck_switches.h"
#include "components/variations/entropy_provider.h"
#include "content/public/test/test_browser_thread.h"
#include "net/url_request/test_url_fetcher_factory.h"
@@ -111,7 +111,7 @@ class FeedbackSenderTest : public testing::Test {
// The command-line switch is temporary.
// TODO(rouslan): Remove the command-line switch. http://crbug.com/247726
base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kEnableSpellingFeedbackFieldTrial);
+ spellcheck::switches::kEnableSpellingFeedbackFieldTrial);
feedback_.reset(new MockFeedbackSender(NULL, kLanguage, kCountry));
feedback_->StartFeedbackCollection();
}
« no previous file with comments | « chrome/browser/spellchecker/feedback_sender.cc ('k') | chrome/browser/spellchecker/spellcheck_platform_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698