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

Unified Diff: content/browser/download/download_create_info.h

Issue 9296012: Hooked up NetLog to DownloadItem, DownloadFile, and FileStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create DownloadItem's BoundNetLog closer to constructor Created 8 years, 10 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_create_info.h
diff --git a/content/browser/download/download_create_info.h b/content/browser/download/download_create_info.h
index 9aad9a5d09389df5430ea66cffca1fd287379f94..cd42529e8d7f9712ed3f95d6e59a18f4fdf14c17 100644
--- a/content/browser/download/download_create_info.h
+++ b/content/browser/download/download_create_info.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -18,6 +18,7 @@
#include "content/public/browser/download_id.h"
#include "content/public/common/page_transition_types.h"
#include "googleurl/src/gurl.h"
+#include "net/base/net_log.h"
// Used for informing the download manager of a new download, since we don't
// want to pass |DownloadItem|s between threads.
@@ -28,6 +29,7 @@ struct CONTENT_EXPORT DownloadCreateInfo {
int64 received_bytes,
int64 total_bytes,
int32 state,
+ const net::BoundNetLog& log,
bool has_user_gesture,
content::PageTransition transition_type);
DownloadCreateInfo();
@@ -110,6 +112,8 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// The remote IP address where the download was fetched from. Copied from
// UrlRequest::GetSocketAddress().
std::string remote_address;
+
+ const net::BoundNetLog bound_net_log;
Randy Smith (Not in Mondays) 2012/02/07 23:19:14 Willing to make this "url_request_bound_net_log" s
ahendrickson 2012/02/07 23:58:54 Done.
};
#endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_CREATE_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698