| Index: content/browser/download/download_worker.cc
|
| diff --git a/content/browser/download/download_worker.cc b/content/browser/download/download_worker.cc
|
| index 24f770c13738c53035f713bf9391576bb7ae9d1f..07aa580258ac668240c4afd68772299b23f1b944 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:
|
| @@ -104,7 +104,7 @@ void DownloadWorker::OnUrlDownloadStarted(
|
|
|
| // 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;
|
| }
|
| @@ -112,7 +112,7 @@ void DownloadWorker::OnUrlDownloadStarted(
|
| // 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;
|
| input_stream->stream_reader_.reset(
|
| new CompletedByteStreamReader(create_info->result));
|
| @@ -122,7 +122,7 @@ void DownloadWorker::OnUrlDownloadStarted(
|
|
|
| // 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();
|
| }
|
|
|
|
|