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

Unified Diff: content/browser/download/download_worker.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 years, 5 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
Index: content/browser/download/download_worker.cc
diff --git a/content/browser/download/download_worker.cc b/content/browser/download/download_worker.cc
index 2f564e5f42e0192fc48d6a13354fe3665b758a04..b45197fea03687448c5d2b0eea3c91b8d0beeefa 100644
--- a/content/browser/download/download_worker.cc
+++ b/content/browser/download/download_worker.cc
@@ -11,7 +11,7 @@
namespace content {
namespace {
-const int kVerboseLevel = 1;
+const int kWorkerVerbosityLevel = 1;
class CompletedByteStreamReader : public ByteStreamReader {
public:
@@ -103,7 +103,7 @@ void DownloadWorker::OnUrlDownloaderStarted(
// Destroy the request if user canceled.
if (is_canceled_) {
- VLOG(kVerboseLevel) << "Byte stream arrived after user cancel the request.";
+ VLOG(kWorkerVerbosityLevel) << "Byte stream arrived after user cancel the request.";
create_info->request_handle->CancelRequest(is_user_cancel_);
return;
}
@@ -111,7 +111,7 @@ void DownloadWorker::OnUrlDownloaderStarted(
// TODO(xingliu): Add metric for error handling.
if (create_info->result !=
DownloadInterruptReason::DOWNLOAD_INTERRUPT_REASON_NONE) {
- VLOG(kVerboseLevel) << "Parallel download sub-request failed. reason = "
+ VLOG(kWorkerVerbosityLevel) << "Parallel download sub-request failed. reason = "
<< create_info->result;
stream_reader.reset(new CompletedByteStreamReader(create_info->result));
}
@@ -120,7 +120,7 @@ void DownloadWorker::OnUrlDownloaderStarted(
// Pause the stream if user paused, still push the stream reader to the sink.
if (is_paused_) {
- VLOG(kVerboseLevel) << "Byte stream arrived after user pause the request.";
+ VLOG(kWorkerVerbosityLevel) << "Byte stream arrived after user pause the request.";
Pause();
}
« no previous file with comments | « content/browser/dom_storage/local_storage_context_mojo.cc ('k') | content/browser/fileapi/fileapi_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698