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

Unified Diff: components/feedback/feedback_uploader_chrome.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 | « components/feedback/feedback_uploader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/feedback_uploader_chrome.cc
diff --git a/components/feedback/feedback_uploader_chrome.cc b/components/feedback/feedback_uploader_chrome.cc
index fe99da76a8cbfd61b96e935c9283c936afdb1adb..7587e5950d3d1ee105d16134df551910b5ada16f 100644
--- a/components/feedback/feedback_uploader_chrome.cc
+++ b/components/feedback/feedback_uploader_chrome.cc
@@ -10,22 +10,18 @@
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/task_runner_util.h"
-#include "base/threading/sequenced_worker_pool.h"
#include "components/data_use_measurement/core/data_use_user_data.h"
#include "components/feedback/feedback_report.h"
#include "components/feedback/feedback_switches.h"
#include "components/feedback/feedback_uploader_delegate.h"
#include "components/variations/net/variations_http_headers.h"
#include "content/public/browser/browser_context.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/storage_partition.h"
#include "net/base/load_flags.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_fetcher.h"
#include "url/gurl.h"
-using content::BrowserThread;
-
namespace feedback {
namespace {
@@ -33,10 +29,8 @@ const char kProtoBufMimeType[] = "application/x-protobuf";
} // namespace
-FeedbackUploaderChrome::FeedbackUploaderChrome(
- content::BrowserContext* context)
- : FeedbackUploader(context ? context->GetPath() : base::FilePath(),
- BrowserThread::GetBlockingPool()),
+FeedbackUploaderChrome::FeedbackUploaderChrome(content::BrowserContext* context)
+ : FeedbackUploader(context ? context->GetPath() : base::FilePath()),
context_(context) {
CHECK(context_);
const base::CommandLine& command_line =
« no previous file with comments | « components/feedback/feedback_uploader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698