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

Unified Diff: cloud_print/gcp20/prototype/privet_http_server.h

Issue 296053012: Replace StreamListenSocket with StreamSocket in HttpServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: cloud_print/gcp20/prototype/privet_http_server.h
diff --git a/cloud_print/gcp20/prototype/privet_http_server.h b/cloud_print/gcp20/prototype/privet_http_server.h
index 4b22e3536280ebd8bc7e719b1b860855752c2e8f..6cb14d106459a1ec66d37cc0818fce74518fe056 100644
--- a/cloud_print/gcp20/prototype/privet_http_server.h
+++ b/cloud_print/gcp20/prototype/privet_http_server.h
@@ -204,7 +204,7 @@ class PrivetHttpServer: public net::HttpServer::Delegate {
uint16 port_;
// Contains encapsulated object for listening for requests.
- scoped_refptr<net::HttpServer> server_;
+ scoped_ptr<net::HttpServer> server_;
Delegate* delegate_;
@@ -212,4 +212,3 @@ class PrivetHttpServer: public net::HttpServer::Delegate {
};
#endif // CLOUD_PRINT_GCP20_PROTOTYPE_PRIVET_HTTP_SERVER_H_
-

Powered by Google App Engine
This is Rietveld 408576698