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

Side by Side Diff: net/base/trace_net_log_observer.h

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/base/sdch_manager.cc ('k') | net/base/trace_net_log_observer.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BASE_TRACE_NET_LOG_OBSERVER_H_ 5 #ifndef NET_BASE_TRACE_NET_LOG_OBSERVER_H_
6 #define NET_BASE_TRACE_NET_LOG_OBSERVER_H_ 6 #define NET_BASE_TRACE_NET_LOG_OBSERVER_H_
7 7
8 #include "base/debug/trace_event_impl.h"
9 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/trace_event/trace_event_impl.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 #include "net/base/net_log.h" 11 #include "net/base/net_log.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 // TraceNetLogObserver watches for TraceLog enable, and sends NetLog 15 // TraceNetLogObserver watches for TraceLog enable, and sends NetLog
16 // events to TraceLog if it is enabled. 16 // events to TraceLog if it is enabled.
17 class NET_EXPORT TraceNetLogObserver 17 class NET_EXPORT TraceNetLogObserver
18 : public NetLog::ThreadSafeObserver, 18 : public NetLog::ThreadSafeObserver,
19 public base::debug::TraceLog::EnabledStateObserver { 19 public base::debug::TraceLog::EnabledStateObserver {
(...skipping 20 matching lines...) Expand all
40 40
41 private: 41 private:
42 NetLog* net_log_to_watch_; 42 NetLog* net_log_to_watch_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(TraceNetLogObserver); 44 DISALLOW_COPY_AND_ASSIGN(TraceNetLogObserver);
45 }; 45 };
46 46
47 } // namespace net 47 } // namespace net
48 48
49 #endif // NET_BASE_TRACE_NET_LOG_OBSERVER_H_ 49 #endif // NET_BASE_TRACE_NET_LOG_OBSERVER_H_
OLDNEW
« no previous file with comments | « net/base/sdch_manager.cc ('k') | net/base/trace_net_log_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698