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

Unified Diff: net/tools/quic/quic_epoll_clock.cc

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/tools/quic/quic_epoll_clock.h ('k') | net/tools/quic/quic_epoll_clock_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_epoll_clock.cc
diff --git a/net/tools/quic/quic_epoll_clock.cc b/net/tools/quic/quic_epoll_clock.cc
deleted file mode 100644
index 450afb8c52442e80249a1be47a731f7a9b673abc..0000000000000000000000000000000000000000
--- a/net/tools/quic/quic_epoll_clock.cc
+++ /dev/null
@@ -1,29 +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.
-
-#include "net/tools/quic/quic_epoll_clock.h"
-
-#include "net/tools/epoll_server/epoll_server.h"
-
-namespace net {
-namespace tools {
-
-QuicEpollClock::QuicEpollClock(EpollServer* epoll_server)
- : epoll_server_(epoll_server) {
-}
-
-QuicEpollClock::~QuicEpollClock() {}
-
-QuicTime QuicEpollClock::ApproximateNow() const {
- return QuicTime::Zero().Add(
- QuicTime::Delta::FromMicroseconds(epoll_server_->ApproximateNowInUsec()));
-}
-
-QuicTime QuicEpollClock::Now() const {
- return QuicTime::Zero().Add(
- QuicTime::Delta::FromMicroseconds(epoll_server_->NowInUsec()));
-}
-
-} // namespace tools
-} // namespace net
« no previous file with comments | « net/tools/quic/quic_epoll_clock.h ('k') | net/tools/quic/quic_epoll_clock_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698