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

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

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android webview init fix merged in. Created 7 years, 4 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/browser/signin/signin_manager_unittest.cc ('k') | chrome/browser/sync/sync_global_error_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5c0b1dbd40727241242cb461fb9c4def3a2e5772..fe565abc0a4ff8af5505034cffa86b025f5fa86b 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"
@@ -61,7 +61,7 @@ int CountOccurences(const std::string& haystack, const std::string& needle) {
// A test fixture to help keep tests simple.
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.
// http://crbug.com/247726
@@ -125,9 +125,8 @@ class FeedbackSenderTest : public testing::Test {
scoped_ptr<spellcheck::FeedbackSender> feedback_;
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_;
« no previous file with comments | « chrome/browser/signin/signin_manager_unittest.cc ('k') | chrome/browser/sync/sync_global_error_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698