| 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();
|
| }
|
|
|
|
|