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

Side by Side Diff: net/quic/core/quic_alarm.h

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_address_mismatch_test.cc ('k') | net/quic/core/quic_alarm.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_QUIC_ALARM_H_ 5 #ifndef NET_QUIC_QUIC_ALARM_H_
6 #define NET_QUIC_QUIC_ALARM_H_ 6 #define NET_QUIC_QUIC_ALARM_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/quic/quic_arena_scoped_ptr.h" 12 #include "net/quic/core/quic_arena_scoped_ptr.h"
13 #include "net/quic/quic_time.h" 13 #include "net/quic/core/quic_time.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 // Abstract class which represents an alarm which will go off at a 17 // Abstract class which represents an alarm which will go off at a
18 // scheduled time, and execute the |OnAlarm| method of the delegate. 18 // scheduled time, and execute the |OnAlarm| method of the delegate.
19 // An alarm may be cancelled, in which case it may or may not be 19 // An alarm may be cancelled, in which case it may or may not be
20 // removed from the underlying scheduling system, but in either case 20 // removed from the underlying scheduling system, but in either case
21 // the task will not be executed. 21 // the task will not be executed.
22 class NET_EXPORT_PRIVATE QuicAlarm { 22 class NET_EXPORT_PRIVATE QuicAlarm {
23 public: 23 public:
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 private: 80 private:
81 QuicArenaScopedPtr<Delegate> delegate_; 81 QuicArenaScopedPtr<Delegate> delegate_;
82 QuicTime deadline_; 82 QuicTime deadline_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(QuicAlarm); 84 DISALLOW_COPY_AND_ASSIGN(QuicAlarm);
85 }; 85 };
86 86
87 } // namespace net 87 } // namespace net
88 88
89 #endif // NET_QUIC_QUIC_ALARM_H_ 89 #endif // NET_QUIC_QUIC_ALARM_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_address_mismatch_test.cc ('k') | net/quic/core/quic_alarm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698