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

Unified Diff: components/feedback/feedback_data_unittest.cc

Issue 2876213002: Use TaskScheduler instead of SequencedWorkerPool in components/feedback. (Closed)
Patch Set: fix-build-errors Created 3 years, 7 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 | « no previous file | components/feedback/feedback_uploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/feedback_data_unittest.cc
diff --git a/components/feedback/feedback_data_unittest.cc b/components/feedback/feedback_data_unittest.cc
index d6e353b398ec563f561dd1d12d4cff5fe4b7be1c..443d3b53044ab6d5bf38281c9957ab9d755338a2 100644
--- a/components/feedback/feedback_data_unittest.cc
+++ b/components/feedback/feedback_data_unittest.cc
@@ -16,7 +16,6 @@
#include "components/prefs/testing_pref_service.h"
#include "components/user_prefs/user_prefs.h"
#include "content/public/test/test_browser_context.h"
-#include "content/public/test/test_browser_thread.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -27,13 +26,10 @@ const char kHistograms[] = "";
const char kImageData[] = "";
const char kFileData[] = "";
-using content::BrowserThread;
-
class MockUploader : public feedback::FeedbackUploader, public KeyedService {
public:
MockUploader(content::BrowserContext* context)
- : FeedbackUploader(context ? context->GetPath() : base::FilePath(),
- BrowserThread::GetBlockingPool()) {}
+ : FeedbackUploader(context ? context->GetPath() : base::FilePath()) {}
MOCK_METHOD1(DispatchReport, void(const std::string&));
};
« no previous file with comments | « no previous file | components/feedback/feedback_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698