| Index: components/spellcheck/browser/feedback_sender_unittest.cc
|
| diff --git a/chrome/browser/spellchecker/feedback_sender_unittest.cc b/components/spellcheck/browser/feedback_sender_unittest.cc
|
| similarity index 98%
|
| rename from chrome/browser/spellchecker/feedback_sender_unittest.cc
|
| rename to components/spellcheck/browser/feedback_sender_unittest.cc
|
| index 5b420815320a79a5b40af174294f278bcbc10303..46368391880003f757383572f8332e19f84f0e9b 100644
|
| --- a/chrome/browser/spellchecker/feedback_sender_unittest.cc
|
| +++ b/components/spellcheck/browser/feedback_sender_unittest.cc
|
| @@ -4,7 +4,7 @@
|
| //
|
| // Unit tests for |FeedbackSender| object.
|
|
|
| -#include "chrome/browser/spellchecker/feedback_sender.h"
|
| +#include "components/spellcheck/browser/feedback_sender.h"
|
|
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| @@ -17,13 +17,15 @@
|
| #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 "chrome/common/chrome_switches.h"
|
| +
|
| +#include "components/spellcheck/common/spellcheck_common.h"
|
| +#include "components/spellcheck/common/spellcheck_marker.h"
|
| +#include "components/spellcheck/common/spellcheck_result.h"
|
| +//#include "chrome/test/base/testing_profile.h"
|
| #include "components/variations/entropy_provider.h"
|
| #include "content/public/test/test_browser_thread.h"
|
| +#include "content/public/common/content_switches.h"
|
| #include "net/url_request/test_url_fetcher_factory.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -141,7 +143,7 @@ class FeedbackSenderTest : public testing::Test {
|
| void ExpireSession() {
|
| feedback_->session_start_ =
|
| base::Time::Now() -
|
| - base::TimeDelta::FromHours(chrome::spellcheck_common::kSessionHours);
|
| + base::TimeDelta::FromHours(spellcheck_common::kSessionHours);
|
| }
|
|
|
| bool UploadDataContains(const std::string& data) const {
|
| @@ -182,7 +184,7 @@ class FeedbackSenderTest : public testing::Test {
|
|
|
| private:
|
| base::MessageLoop loop_;
|
| - TestingProfile profile_;
|
| +// TestingProfile profile_;
|
| content::TestBrowserThread ui_thread_;
|
| std::unique_ptr<base::FieldTrialList> field_trial_list_;
|
| scoped_refptr<base::FieldTrial> field_trial_;
|
|
|