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

Side by Side Diff: chrome/browser/net/chrome_net_log.h

Issue 2986002: More header cleanup: (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac compile fixes (tested locally) Created 10 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 | « chrome/browser/memory_details.cc ('k') | chrome/browser/omnibox_search_hint.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_NET_CHROME_NET_LOG_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_NET_LOG_H_
6 #define CHROME_BROWSER_NET_CHROME_NET_LOG_H_ 6 #define CHROME_BROWSER_NET_CHROME_NET_LOG_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "base/scoped_ptr.h"
9 #include "net/base/net_log.h" 10 #include "net/base/net_log.h"
10 11
11 class PassiveLogCollector; 12 class PassiveLogCollector;
12 13
13 // ChromeNetLog is an implementation of NetLog that dispatches network log 14 // ChromeNetLog is an implementation of NetLog that dispatches network log
14 // messages to a list of observers. 15 // messages to a list of observers.
15 // 16 //
16 // By default, ChromeNetLog will attach the observer PassiveLogCollector which 17 // By default, ChromeNetLog will attach the observer PassiveLogCollector which
17 // will keep track of recent request information (which used when displaying 18 // will keep track of recent request information (which used when displaying
18 // the about:net-internals page). 19 // the about:net-internals page).
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 54
54 private: 55 private:
55 uint32 next_id_; 56 uint32 next_id_;
56 scoped_ptr<PassiveLogCollector> passive_collector_; 57 scoped_ptr<PassiveLogCollector> passive_collector_;
57 ObserverList<Observer, true> observers_; 58 ObserverList<Observer, true> observers_;
58 59
59 DISALLOW_COPY_AND_ASSIGN(ChromeNetLog); 60 DISALLOW_COPY_AND_ASSIGN(ChromeNetLog);
60 }; 61 };
61 62
62 #endif // CHROME_BROWSER_NET_CHROME_NET_LOG_H_ 63 #endif // CHROME_BROWSER_NET_CHROME_NET_LOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698