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

Unified Diff: net/http/http_request_headers.h

Issue 1135373002: Updated NetLog::ParametersCallback & all related calbacks returning value as scoped_ptr<base::Value… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_request_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_request_headers.h
diff --git a/net/http/http_request_headers.h b/net/http/http_request_headers.h
index d0666de9c431949c6ce20bf9ba04438920a4c779..f3d318ab4dbf6b9082af425c5a2383dd1ebbde0b 100644
--- a/net/http/http_request_headers.h
+++ b/net/http/http_request_headers.h
@@ -147,8 +147,8 @@ class NET_EXPORT HttpRequestHeaders {
// Takes in the request line and returns a Value for use with the NetLog
// containing both the request line and all headers fields.
- base::Value* NetLogCallback(const std::string* request_line,
- NetLogCaptureMode capture_mode) const;
+ scoped_ptr<base::Value> NetLogCallback(const std::string* request_line,
+ NetLogCaptureMode capture_mode) const;
// Takes in a Value created by the above function, and attempts to extract the
// request line and create a copy of the original headers. Returns true on
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_request_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698