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

Unified Diff: net/base/capturing_net_log.h

Issue 10546071: CapturingNetLog - remove maximum entries constructor argument. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/capturing_net_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/capturing_net_log.h
===================================================================
--- net/base/capturing_net_log.h (revision 141266)
+++ net/base/capturing_net_log.h (working copy)
@@ -65,11 +65,7 @@
// Ordered set of entries that were logged.
typedef std::vector<CapturedEntry> CapturedEntryList;
- enum { kUnbounded = -1 };
-
- // Creates a CapturingNetLog that logs a maximum of |max_num_entries|
- // messages.
- explicit CapturingNetLog(size_t max_num_entries);
+ CapturingNetLog();
virtual ~CapturingNetLog();
// Returns the list of all entries in the log.
@@ -100,7 +96,6 @@
// Last assigned source ID. Incremented to get the next one.
base::subtle::Atomic32 last_id_;
- size_t max_num_entries_;
CapturedEntryList captured_entries_;
NetLog::LogLevel log_level_;
@@ -115,8 +110,7 @@
// bound() method.
class CapturingBoundNetLog {
public:
- explicit CapturingBoundNetLog(size_t max_num_entries);
-
+ CapturingBoundNetLog();
~CapturingBoundNetLog();
// The returned BoundNetLog is only valid while |this| is alive.
« no previous file with comments | « no previous file | net/base/capturing_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698