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

Side by Side Diff: net/quic/platform/impl/quic_chromium_clock.h

Issue 2561893002: Add QUIC_EXPORT macros (Closed)
Patch Set: More Created 4 years 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 unified diff | Download patch
« no previous file with comments | « net/quic/platform/api/quic_socket_address.h ('k') | net/quic/platform/impl/quic_export_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_PLATFORM_IMPL_QUIC_CHROMIUM_CLOCK_H_ 5 #ifndef NET_QUIC_PLATFORM_IMPL_QUIC_CHROMIUM_CLOCK_H_
6 #define NET_QUIC_PLATFORM_IMPL_QUIC_CHROMIUM_CLOCK_H_ 6 #define NET_QUIC_PLATFORM_IMPL_QUIC_CHROMIUM_CLOCK_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "net/quic/platform/api/quic_clock.h" 9 #include "net/quic/platform/api/quic_clock.h"
10 #include "net/quic/platform/api/quic_export.h"
10 11
11 namespace net { 12 namespace net {
12 13
13 // Clock to efficiently retrieve an approximately accurate time from an 14 // Clock to efficiently retrieve an approximately accurate time from an
14 // EpollServer. 15 // EpollServer.
15 class NET_EXPORT_PRIVATE QuicChromiumClock : public QuicClock { 16 class QUIC_EXPORT_PRIVATE QuicChromiumClock : public QuicClock {
16 public: 17 public:
17 QuicChromiumClock(); 18 QuicChromiumClock();
18 ~QuicChromiumClock() override; 19 ~QuicChromiumClock() override;
19 20
20 // QuicClock implementation: 21 // QuicClock implementation:
21 QuicTime ApproximateNow() const override; 22 QuicTime ApproximateNow() const override;
22 QuicTime Now() const override; 23 QuicTime Now() const override;
23 QuicWallTime WallNow() const override; 24 QuicWallTime WallNow() const override;
24 25
25 private: 26 private:
26 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClock); 27 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClock);
27 }; 28 };
28 29
29 } // namespace net 30 } // namespace net
30 31
31 #endif // NET_QUIC_PLATFORM_IMPL_QUIC_CHROMIUM_CLOCK_H_ 32 #endif // NET_QUIC_PLATFORM_IMPL_QUIC_CHROMIUM_CLOCK_H_
OLDNEW
« no previous file with comments | « net/quic/platform/api/quic_socket_address.h ('k') | net/quic/platform/impl/quic_export_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698