Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / cloud_print / gcp20 / prototype / privet_http_server.h
index 4b22e35..5a3a2fe 100644 (file)
@@ -141,6 +141,7 @@ class PrivetHttpServer: public net::HttpServer::Delegate {
 
  private:
   // net::HttpServer::Delegate methods:
+  virtual void OnConnect(int connection_id) OVERRIDE {}
   virtual void OnHttpRequest(
       int connection_id,
       const net::HttpServerRequestInfo& info) OVERRIDE;
@@ -204,7 +205,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 +213,3 @@ class PrivetHttpServer: public net::HttpServer::Delegate {
 };
 
 #endif  // CLOUD_PRINT_GCP20_PROTOTYPE_PRIVET_HTTP_SERVER_H_
-