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

Unified Diff: net/quic/test_tools/mock_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/test_tools/delayed_verify_strike_register_client.cc ('k') | net/quic/test_tools/mock_clock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/mock_clock.h
diff --git a/net/quic/test_tools/mock_clock.h b/net/quic/test_tools/mock_clock.h
deleted file mode 100644
index 30c76ddf4b1c657b3ef006de3fbe1bba2d00248a..0000000000000000000000000000000000000000
--- a/net/quic/test_tools/mock_clock.h
+++ /dev/null
@@ -1,39 +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_TEST_TOOLS_MOCK_CLOCK_H_
-#define NET_QUIC_TEST_TOOLS_MOCK_CLOCK_H_
-
-#include "net/quic/quic_clock.h"
-
-#include "base/compiler_specific.h"
-#include "base/logging.h"
-#include "base/time/time.h"
-
-namespace net {
-
-class MockClock : public QuicClock {
- public:
- MockClock();
- ~MockClock() override;
-
- void AdvanceTime(QuicTime::Delta delta);
-
- QuicTime Now() const override;
-
- QuicTime ApproximateNow() const override;
-
- QuicWallTime WallNow() const override;
-
- base::TimeTicks NowInTicks() const;
-
- private:
- QuicTime now_;
-
- DISALLOW_COPY_AND_ASSIGN(MockClock);
-};
-
-} // namespace net
-
-#endif // NET_QUIC_TEST_TOOLS_MOCK_CLOCK_H_
« no previous file with comments | « net/quic/test_tools/delayed_verify_strike_register_client.cc ('k') | net/quic/test_tools/mock_clock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698