| 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 35323348f69f5bd8b289f4279f5d85f427d05f81..61b74ee077008ba068984fd4d3d290771b88daf3 100644
|
| --- a/chrome/browser/spellchecker/feedback_sender_unittest.cc
|
| +++ b/chrome/browser/spellchecker/feedback_sender_unittest.cc
|
| @@ -20,7 +20,7 @@
|
| #include "chrome/common/spellcheck_marker.h"
|
| #include "chrome/common/spellcheck_result.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| -#include "content/public/test/test_browser_thread.h"
|
| +#include "content/public/test/test_browser_thread_bundle.h"
|
| #include "net/url_request/test_url_fetcher_factory.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -59,7 +59,7 @@ int CountOccurences(const std::string& haystack, const std::string& needle) {
|
|
|
| class FeedbackSenderTest : public testing::Test {
|
| public:
|
| - FeedbackSenderTest() : ui_thread_(content::BrowserThread::UI, &loop_) {
|
| + FeedbackSenderTest() {
|
|
|
| // The command-line switch and the field trial are temporary.
|
| // TODO(rouslan): Remove the command-line switch and the field trial.
|
| @@ -77,9 +77,8 @@ class FeedbackSenderTest : public testing::Test {
|
| virtual ~FeedbackSenderTest() {}
|
|
|
| private:
|
| + content::TestBrowserThreadBundle thread_bundle_;
|
| TestingProfile profile_;
|
| - base::MessageLoop loop_;
|
| - content::TestBrowserThread ui_thread_;
|
| scoped_ptr<base::FieldTrialList> field_trial_list_;
|
| scoped_refptr<base::FieldTrial> field_trial_;
|
| net::TestURLFetcherFactory fetchers_;
|
|
|