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

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

Issue 126243002: Add the override annotation to all necessary methods in .../quic/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed OVERRIDE on virtual destructor Created 6 years, 11 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 | Annotate | Revision Log
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 // The Chrome-specific helper for QuicConnection which uses 5 // The Chrome-specific helper for QuicConnection which uses
6 // a TaskRunner for alarms, and uses a DatagramClientSocket for writing data. 6 // a TaskRunner for alarms, and uses a DatagramClientSocket for writing data.
7 7
8 #ifndef NET_QUIC_QUIC_CONNECTION_HELPER_H_ 8 #ifndef NET_QUIC_QUIC_CONNECTION_HELPER_H_
9 #define NET_QUIC_QUIC_CONNECTION_HELPER_H_ 9 #define NET_QUIC_QUIC_CONNECTION_HELPER_H_
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 class QuicClock; 27 class QuicClock;
28 class QuicRandom; 28 class QuicRandom;
29 29
30 class NET_EXPORT_PRIVATE QuicConnectionHelper 30 class NET_EXPORT_PRIVATE QuicConnectionHelper
31 : public QuicConnectionHelperInterface { 31 : public QuicConnectionHelperInterface {
32 public: 32 public:
33 QuicConnectionHelper(base::TaskRunner* task_runner, 33 QuicConnectionHelper(base::TaskRunner* task_runner,
34 const QuicClock* clock, 34 const QuicClock* clock,
35 QuicRandom* random_generator); 35 QuicRandom* random_generator);
36
37 virtual ~QuicConnectionHelper(); 36 virtual ~QuicConnectionHelper();
38 37
39 // QuicConnectionHelperInterface 38 // QuicConnectionHelperInterface
40 virtual const QuicClock* GetClock() const OVERRIDE; 39 virtual const QuicClock* GetClock() const OVERRIDE;
41 virtual QuicRandom* GetRandomGenerator() OVERRIDE; 40 virtual QuicRandom* GetRandomGenerator() OVERRIDE;
42 virtual QuicAlarm* CreateAlarm(QuicAlarm::Delegate* delegate) OVERRIDE; 41 virtual QuicAlarm* CreateAlarm(QuicAlarm::Delegate* delegate) OVERRIDE;
43 42
44 private: 43 private:
45 base::WeakPtrFactory<QuicConnectionHelper> weak_factory_; 44 base::WeakPtrFactory<QuicConnectionHelper> weak_factory_;
46 base::TaskRunner* task_runner_; 45 base::TaskRunner* task_runner_;
47 const QuicClock* clock_; 46 const QuicClock* clock_;
48 QuicRandom* random_generator_; 47 QuicRandom* random_generator_;
49 48
50 DISALLOW_COPY_AND_ASSIGN(QuicConnectionHelper); 49 DISALLOW_COPY_AND_ASSIGN(QuicConnectionHelper);
51 }; 50 };
52 51
53 } // namespace net 52 } // namespace net
54 53
55 #endif // NET_QUIC_QUIC_CONNECTION_HELPER_H_ 54 #endif // NET_QUIC_QUIC_CONNECTION_HELPER_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config_test.cc ('k') | net/quic/quic_default_packet_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698