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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 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/quic_ack_listener_interface.h ('k') | net/quic/quic_bandwidth.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 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 "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
10 #include "net/quic/quic_time.h" 11 #include "net/quic/quic_time.h"
11 12
12 namespace net { 13 namespace net {
13 14
14 // Abstract class which represents an alarm which will go off at a 15 // Abstract class which represents an alarm which will go off at a
15 // scheduled time, and execute the |OnAlarm| method of the delegate. 16 // scheduled time, and execute the |OnAlarm| method of the delegate.
16 // An alarm may be cancelled, in which case it may or may not be 17 // An alarm may be cancelled, in which case it may or may not be
17 // removed from the underlying scheduling system, but in either case 18 // removed from the underlying scheduling system, but in either case
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 private: 74 private:
74 scoped_ptr<Delegate> delegate_; 75 scoped_ptr<Delegate> delegate_;
75 QuicTime deadline_; 76 QuicTime deadline_;
76 77
77 DISALLOW_COPY_AND_ASSIGN(QuicAlarm); 78 DISALLOW_COPY_AND_ASSIGN(QuicAlarm);
78 }; 79 };
79 80
80 } // namespace net 81 } // namespace net
81 82
82 #endif // NET_QUIC_QUIC_ALARM_H_ 83 #endif // NET_QUIC_QUIC_ALARM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_ack_listener_interface.h ('k') | net/quic/quic_bandwidth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698