Index: net/log/write_to_file_net_log_observer.h |
diff --git a/net/log/net_log_logger.h b/net/log/write_to_file_net_log_observer.h |
similarity index 86% |
rename from net/log/net_log_logger.h |
rename to net/log/write_to_file_net_log_observer.h |
index 111d8ddd60a120c583c6a49ef27a1d6322f1b06c..f473651de6e96438e3bb090cc8d96e66425042f9 100644 |
--- a/net/log/net_log_logger.h |
+++ b/net/log/write_to_file_net_log_observer.h |
@@ -22,14 +22,15 @@ namespace net { |
class URLRequestContext; |
-// NetLogLogger watches the NetLog event stream, and sends all entries to |
+// WriteToFileNetLogObserver watches the NetLog event stream, and sends all |
+// entries to |
eroman
2015/04/14 20:06:12
Join the previous line to here to match new wrappi
|
// a file specified on creation. |
// |
// The text file will contain a single JSON object. |
-class NET_EXPORT NetLogLogger : public NetLog::ThreadSafeObserver { |
+class NET_EXPORT WriteToFileNetLogObserver : public NetLog::ThreadSafeObserver { |
public: |
- NetLogLogger(); |
- ~NetLogLogger() override; |
+ WriteToFileNetLogObserver(); |
+ ~WriteToFileNetLogObserver() override; |
// Sets the log level to log at. Must be called before StartObserving. |
void set_log_level(NetLog::LogLevel log_level); |
@@ -52,7 +53,7 @@ class NET_EXPORT NetLogLogger : public NetLog::ThreadSafeObserver { |
net::URLRequestContext* url_request_context); |
// Stops observing net_log(). Must already be watching. Must be called |
- // before destruction of the NetLogLogger and the NetLog. |
+ // before destruction of the WriteToFileNetLogObserver and the NetLog. |
// |
// |url_request_context| is an optional argument used to added additional |
// network stack state to the log. If the context is non-NULL, this must be |
@@ -71,7 +72,7 @@ class NET_EXPORT NetLogLogger : public NetLog::ThreadSafeObserver { |
// True if OnAddEntry() has been called at least once. |
bool added_events_; |
- DISALLOW_COPY_AND_ASSIGN(NetLogLogger); |
+ DISALLOW_COPY_AND_ASSIGN(WriteToFileNetLogObserver); |
}; |
} // namespace net |