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

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

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

Powered by Google App Engine
This is Rietveld 408576698