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

Unified Diff: components/feedback/feedback_uploader_chrome_unittest.cc

Issue 1878153002: Revert of Simplify BrowserContext by removing redundant methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « components/feedback/feedback_uploader_chrome.cc ('k') | components/precache/content/precache_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/feedback_uploader_chrome_unittest.cc
diff --git a/components/feedback/feedback_uploader_chrome_unittest.cc b/components/feedback/feedback_uploader_chrome_unittest.cc
index 7db46872e2f4b7e86b93399e6fc082815703ed24..1b6084b74580e9a76b1d61ad34dd066d3a112a97 100644
--- a/components/feedback/feedback_uploader_chrome_unittest.cc
+++ b/components/feedback/feedback_uploader_chrome_unittest.cc
@@ -7,11 +7,11 @@
#include <string>
#include "base/macros.h"
+#include "base/message_loop/message_loop.h"
#include "base/metrics/field_trial.h"
#include "components/variations/variations_associated_data.h"
#include "components/variations/variations_http_header_provider.h"
#include "content/public/test/test_browser_context.h"
-#include "content/public/test/test_browser_thread_bundle.h"
#include "net/url_request/test_url_fetcher_factory.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -20,8 +20,7 @@
class FeedbackUploaderChromeTest : public ::testing::Test {
protected:
- FeedbackUploaderChromeTest()
- : browser_thread_bundle_(content::TestBrowserThreadBundle::IO_MAINLOOP) {}
+ FeedbackUploaderChromeTest() {}
~FeedbackUploaderChromeTest() override {
// Clean up registered ids.
@@ -40,7 +39,7 @@
}
private:
- content::TestBrowserThreadBundle browser_thread_bundle_;
+ base::MessageLoopForUI message_loop_;
DISALLOW_COPY_AND_ASSIGN(FeedbackUploaderChromeTest);
};
« no previous file with comments | « components/feedback/feedback_uploader_chrome.cc ('k') | components/precache/content/precache_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698