Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / extensions / browser / api / socket / udp_socket.h
index 7c1450f..7a51131 100644 (file)
@@ -16,27 +16,26 @@ namespace extensions {
 class UDPSocket : public Socket {
  public:
   explicit UDPSocket(const std::string& owner_extension_id);
-  virtual ~UDPSocket();
-
-  virtual void Connect(const std::string& address,
-                       int port,
-                       const CompletionCallback& callback) OVERRIDE;
-  virtual void Disconnect() OVERRIDE;
-  virtual int Bind(const std::string& address, int port) OVERRIDE;
-  virtual void Read(int count, const ReadCompletionCallback& callback) OVERRIDE;
-  virtual void RecvFrom(int count,
-                        const RecvFromCompletionCallback& callback) OVERRIDE;
-  virtual void SendTo(scoped_refptr<net::IOBuffer> io_buffer,
-                      int byte_count,
-                      const std::string& address,
-                      int port,
-                      const CompletionCallback& callback) OVERRIDE;
-
-  virtual bool IsConnected() OVERRIDE;
-
-  virtual bool GetPeerAddress(net::IPEndPoint* address) OVERRIDE;
-  virtual bool GetLocalAddress(net::IPEndPoint* address) OVERRIDE;
-  virtual Socket::SocketType GetSocketType() const OVERRIDE;
+  ~UDPSocket() override;
+
+  void Connect(const std::string& address,
+               int port,
+               const CompletionCallback& callback) override;
+  void Disconnect() override;
+  int Bind(const std::string& address, int port) override;
+  void Read(int count, const ReadCompletionCallback& callback) override;
+  void RecvFrom(int count, const RecvFromCompletionCallback& callback) override;
+  void SendTo(scoped_refptr<net::IOBuffer> io_buffer,
+              int byte_count,
+              const std::string& address,
+              int port,
+              const CompletionCallback& callback) override;
+
+  bool IsConnected() override;
+
+  bool GetPeerAddress(net::IPEndPoint* address) override;
+  bool GetLocalAddress(net::IPEndPoint* address) override;
+  Socket::SocketType GetSocketType() const override;
 
   bool IsBound();
 
@@ -49,9 +48,9 @@ class UDPSocket : public Socket {
   const std::vector<std::string>& GetJoinedGroups() const;
 
  protected:
-  virtual int WriteImpl(net::IOBuffer* io_buffer,
-                        int io_buffer_size,
-                        const net::CompletionCallback& callback) OVERRIDE;
+  int WriteImpl(net::IOBuffer* io_buffer,
+                int io_buffer_size,
+                const net::CompletionCallback& callback) override;
 
  private:
   // Make net::IPEndPoint can be refcounted
@@ -82,7 +81,7 @@ class ResumableUDPSocket : public UDPSocket {
   explicit ResumableUDPSocket(const std::string& owner_extension_id);
 
   // Overriden from ApiResource
-  virtual bool IsPersistent() const OVERRIDE;
+  bool IsPersistent() const override;
 
   const std::string& name() const { return name_; }
   void set_name(const std::string& name) { name_ = name; }