Add QUIC congestion control classes.  (Just a basic fixed rate sender.)


Review URL: https://chromiumcodereview.appspot.com/11236079

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164486 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/net/quic/quic_clock.cc b/net/quic/quic_clock.cc
new file mode 100644
index 0000000..0d7d54a3
--- /dev/null
+++ b/net/quic/quic_clock.cc
@@ -0,0 +1,21 @@
+// 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/quic/quic_clock.h"
+
+#include "base/time.h"
+
+namespace net {
+
+QuicClock::QuicClock() {
+}
+
+QuicClock::~QuicClock() {}
+
+uint64 QuicClock::NowInUsec() {
+  base::TimeDelta delta = base::Time::Now() - base::Time::UnixEpoch();
+  return delta.InMicroseconds();
+}
+
+}  // namespace net