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

Unified Diff: net/http/http_server_properties.h

Issue 1156563004: Convert bare pointer to scoped_ptr in net/http (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated Review comments 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
Index: net/http/http_server_properties.h
diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h
index c9a18f245ccb334161e5cbf8e35e07b04effbe59..5d38672be69ef8589ee216340e4f8f53365a8985 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -271,7 +271,7 @@ class NET_EXPORT HttpServerProperties {
virtual const AlternativeServiceMap& alternative_service_map() const = 0;
// Returns all alternative service mappings as human readable strings.
- virtual base::Value* GetAlternativeServiceInfoAsValue() const = 0;
+ virtual scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const = 0;
// Sets the threshold to be used when evaluating alternative service
// advertisments. Only advertisements with a probability greater than or equal
« AUTHORS ('K') | « AUTHORS ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698