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

Unified Diff: components/feedback/feedback_uploader.h

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 | « components/feedback/feedback_data_unittest.cc ('k') | components/feedback/feedback_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/feedback_uploader.h
diff --git a/components/feedback/feedback_uploader.h b/components/feedback/feedback_uploader.h
index 2d8e2564e14a4312765295bfec1a57a20e0bf1e8..1b05727327b7ebcbbf0a069db6748a5ab25933d0 100644
--- a/components/feedback/feedback_uploader.h
+++ b/components/feedback/feedback_uploader.h
@@ -11,7 +11,6 @@
#include "base/files/file_util.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
-#include "base/threading/sequenced_worker_pool.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
@@ -26,10 +25,8 @@ class FeedbackReport;
// tried again when it's turn comes up next in the queue.
class FeedbackUploader : public base::SupportsWeakPtr<FeedbackUploader> {
public:
+ FeedbackUploader(const base::FilePath& path);
FeedbackUploader(const base::FilePath& path,
- base::SequencedWorkerPool* pool);
- FeedbackUploader(const base::FilePath& path,
- base::SequencedWorkerPool* pool,
const std::string& url);
virtual ~FeedbackUploader();
@@ -76,7 +73,6 @@ class FeedbackUploader : public base::SupportsWeakPtr<FeedbackUploader> {
ReportDataCallback dispatch_callback_;
base::TimeDelta retry_delay_;
std::string url_;
- base::SequencedWorkerPool* pool_;
DISALLOW_COPY_AND_ASSIGN(FeedbackUploader);
};
« no previous file with comments | « components/feedback/feedback_data_unittest.cc ('k') | components/feedback/feedback_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698