| Index: net/base/capturing_net_log.h
|
| ===================================================================
|
| --- net/base/capturing_net_log.h (revision 68857)
|
| +++ net/base/capturing_net_log.h (working copy)
|
| @@ -61,6 +61,10 @@
|
|
|
| void Clear();
|
|
|
| + // This function is not thread safe, so must only be called when the
|
| + // CapturingNetLog is not being actively used.
|
| + void set_log_level(NetLog::LogLevel log_level);
|
| +
|
| private:
|
| // Needs to be "mutable" so can use it in GetEntries().
|
| mutable Lock lock_;
|
| @@ -71,6 +75,8 @@
|
| size_t max_num_entries_;
|
| EntryList entries_;
|
|
|
| + NetLog::LogLevel log_level_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CapturingNetLog);
|
| };
|
|
|
| @@ -97,6 +103,11 @@
|
|
|
| void Clear();
|
|
|
| + // This function is not thread safe, so must only be called when the
|
| + // CapturingBoundNetLog and underlying CapturingNetLog Are not being actively
|
| + // used.
|
| + void set_log_level(NetLog::LogLevel log_level);
|
| +
|
| private:
|
| NetLog::Source source_;
|
| scoped_ptr<CapturingNetLog> capturing_net_log_;
|
|
|