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

Unified Diff: net/log/net_log.h

Issue 1549483004: Make ParametersToValue return scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | net/log/net_log.cc » ('j') | net/log/net_log.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/net_log.h
diff --git a/net/log/net_log.h b/net/log/net_log.h
index aac2e994f9a59f3a19146bf317adb8517641132a..721ddb2d15ffe6fd0e363b35715d6bceb3460988 100644
--- a/net/log/net_log.h
+++ b/net/log/net_log.h
@@ -138,7 +138,7 @@ class NET_EXPORT NetLog {
// Returns the parameters as a Value. Returns NULL if there are no
// parameters. Caller takes ownership of returned Value.
- base::Value* ParametersToValue() const;
+ scoped_ptr<base::Value> ParametersToValue() const;
mmenke 2015/12/28 16:46:39 nit: include base/memory/scoped_ptr.h
private:
const EntryData* const data_;
« no previous file with comments | « no previous file | net/log/net_log.cc » ('j') | net/log/net_log.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698