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

Unified Diff: chromecast/browser/cast_net_log.h

Issue 1216443002: [Chromecast] Add net logging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use cast_net_log Created 5 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 | chromecast/browser/cast_net_log.cc » ('j') | chromecast/browser/cast_net_log.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_net_log.h
diff --git a/chromecast/browser/cast_net_log.h b/chromecast/browser/cast_net_log.h
new file mode 100644
index 0000000000000000000000000000000000000000..06aa7beee2528b232ea2978206960fc8404d9a22
--- /dev/null
+++ b/chromecast/browser/cast_net_log.h
@@ -0,0 +1,28 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMECAST_BROWSER_CAST_NET_LOG_H_
+#define CHROMECAST_BROWSER_CAST_NET_LOG_H_
+
+#include <string>
+
+#include "base/memory/scoped_ptr.h"
+#include "net/log/write_to_file_net_log_observer.h"
+
+namespace chromecast {
+
+class CastNetLog : public net::NetLog {
+ public:
+ explicit CastNetLog();
lcwu1 2015/06/26 04:30:26 No need for 'explicit'.
derekjchow1 2015/06/26 17:58:53 Done.
+ ~CastNetLog() override;
+
+ private:
+ scoped_ptr<net::WriteToFileNetLogObserver> write_to_file_observer_;
+
+ DISALLOW_COPY_AND_ASSIGN(CastNetLog);
+};
+
+} // namespace chromecast
+
+#endif // CHROMECAST_BROWSER_CAST_NET_LOG_H_
« no previous file with comments | « no previous file | chromecast/browser/cast_net_log.cc » ('j') | chromecast/browser/cast_net_log.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698