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

Unified Diff: net/quic/quic_clock.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_clock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_clock.h
diff --git a/net/quic/quic_clock.h b/net/quic/quic_clock.h
deleted file mode 100644
index 4e96d4c781e60baaa13b57f36004ea8f5800335c..0000000000000000000000000000000000000000
--- a/net/quic/quic_clock.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_QUIC_QUIC_CLOCK_H_
-#define NET_QUIC_QUIC_CLOCK_H_
-
-#include "base/basictypes.h"
-#include "net/base/net_export.h"
-#include "net/quic/quic_time.h"
-
-namespace net {
-
-typedef double WallTime;
-
-// Clock to efficiently retrieve an approximately accurate time from an
-// EpollServer.
-class NET_EXPORT_PRIVATE QuicClock {
- public:
- QuicClock();
- virtual ~QuicClock();
-
- // Returns the approximate current time as a QuicTime object.
- virtual QuicTime ApproximateNow() const;
-
- // Returns the current time as a QuicTime object.
- // Note: this use significant resources please use only if needed.
- virtual QuicTime Now() const;
-
- // WallNow returns the current wall-time - a time that is consistent across
- // different clocks.
- virtual QuicWallTime WallNow() const;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(QuicClock);
-};
-
-} // namespace net
-
-#endif // NET_QUIC_QUIC_CLOCK_H_
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_clock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698