Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / net / tools / quic / quic_epoll_clock.h
index fb21354..c5a1390 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef NET_TOOLS_QUIC_QUIC_EPOLL_CLOCK_H_
 #define NET_TOOLS_QUIC_QUIC_EPOLL_CLOCK_H_
 
+#include "base/basictypes.h"
 #include "base/compiler_specific.h"
 #include "net/quic/quic_clock.h"
 #include "net/quic/quic_time.h"
@@ -20,17 +21,20 @@ namespace tools {
 class QuicEpollClock : public QuicClock {
  public:
   explicit QuicEpollClock(EpollServer* epoll_server);
-  virtual ~QuicEpollClock();
+  ~QuicEpollClock() override;
 
   // Returns the approximate current time as a QuicTime object.
-  virtual QuicTime ApproximateNow() const OVERRIDE;
+  QuicTime ApproximateNow() const override;
 
   // Returns the current time as a QuicTime object.
   // Note: this use significant resources please use only if needed.
-  virtual QuicTime Now() const OVERRIDE;
+  QuicTime Now() const override;
 
  protected:
   EpollServer* epoll_server_;
+
+ private:
+  DISALLOW_COPY_AND_ASSIGN(QuicEpollClock);
 };
 
 }  // namespace tools