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

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

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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 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();
}
« 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