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

Side by Side Diff: remoting/base/vlog_net_log.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « remoting/base/url_request_context_getter.h ('k') | remoting/base/vlog_net_log.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 REMOTING_BASE_VLOG_NET_LOG_H_ 5 #ifndef REMOTING_BASE_VLOG_NET_LOG_H_
6 #define REMOTING_BASE_VLOG_NET_LOG_H_ 6 #define REMOTING_BASE_VLOG_NET_LOG_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "net/base/net_log.h" 9 #include "net/base/net_log.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 // Redirectes all networking events (i.e. events logged through net::NetLog) to 13 // Redirectes all networking events (i.e. events logged through net::NetLog) to
14 // VLOG(4). Note that an explicit reference to a net::NetLog object has to be 14 // VLOG(4). Note that an explicit reference to a net::NetLog object has to be
15 // passed to networking classes to receive the events. There is no global 15 // passed to networking classes to receive the events. There is no global
16 // network events logger exists. 16 // network events logger exists.
17 class VlogNetLog : public net::NetLog { 17 class VlogNetLog : public net::NetLog {
18 public: 18 public:
19 VlogNetLog(); 19 VlogNetLog();
20 virtual ~VlogNetLog(); 20 ~VlogNetLog() override;
21 21
22 private: 22 private:
23 class Observer; 23 class Observer;
24 scoped_ptr<Observer> observer_; 24 scoped_ptr<Observer> observer_;
25 25
26 DISALLOW_COPY_AND_ASSIGN(VlogNetLog); 26 DISALLOW_COPY_AND_ASSIGN(VlogNetLog);
27 }; 27 };
28 28
29 } // namespace remoting 29 } // namespace remoting
30 30
31 #endif // REMOTING_BASE_VLOG_NET_LOG_H_ 31 #endif // REMOTING_BASE_VLOG_NET_LOG_H_
OLDNEW
« no previous file with comments | « remoting/base/url_request_context_getter.h ('k') | remoting/base/vlog_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698