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

Side by Side Diff: cloud_print/gcp20/prototype/privet_http_server.h

Issue 497223003: Revert of Replace StreamListenSocket with StreamSocket in HttpServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CLOUD_PRINT_GCP20_PROTOTYPE_PRIVET_HTTP_SERVER_H_ 5 #ifndef CLOUD_PRINT_GCP20_PROTOTYPE_PRIVET_HTTP_SERVER_H_
6 #define CLOUD_PRINT_GCP20_PROTOTYPE_PRIVET_HTTP_SERVER_H_ 6 #define CLOUD_PRINT_GCP20_PROTOTYPE_PRIVET_HTTP_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // |current_response| with error or empty response. 197 // |current_response| with error or empty response.
198 void ProcessRegistrationStatus( 198 void ProcessRegistrationStatus(
199 RegistrationErrorStatus status, 199 RegistrationErrorStatus status,
200 scoped_ptr<base::DictionaryValue>* current_response) const; 200 scoped_ptr<base::DictionaryValue>* current_response) const;
201 201
202 // Port for listening. 202 // Port for listening.
203 203
204 uint16 port_; 204 uint16 port_;
205 205
206 // Contains encapsulated object for listening for requests. 206 // Contains encapsulated object for listening for requests.
207 scoped_ptr<net::HttpServer> server_; 207 scoped_refptr<net::HttpServer> server_;
208 208
209 Delegate* delegate_; 209 Delegate* delegate_;
210 210
211 DISALLOW_COPY_AND_ASSIGN(PrivetHttpServer); 211 DISALLOW_COPY_AND_ASSIGN(PrivetHttpServer);
212 }; 212 };
213 213
214 #endif // CLOUD_PRINT_GCP20_PROTOTYPE_PRIVET_HTTP_SERVER_H_ 214 #endif // CLOUD_PRINT_GCP20_PROTOTYPE_PRIVET_HTTP_SERVER_H_
215
OLDNEW
« no previous file with comments | « chromecast/shell/browser/devtools/remote_debugging_server.cc ('k') | cloud_print/gcp20/prototype/privet_http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698