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

Unified Diff: tools/battor_agent/battor_connection_impl.h

Issue 1970243002: [battor agent] Add option to log serial communication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@char_array_to_str
Patch Set: Created 4 years, 7 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
Index: tools/battor_agent/battor_connection_impl.h
diff --git a/tools/battor_agent/battor_connection_impl.h b/tools/battor_agent/battor_connection_impl.h
index e0ce5a20ffaebed0e37b2a6aa95f98db490fe13b..232cb69a8ddd243aa9079f0286490436420ab260 100644
--- a/tools/battor_agent/battor_connection_impl.h
+++ b/tools/battor_agent/battor_connection_impl.h
@@ -5,6 +5,7 @@
#ifndef TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_IMPL_H_
#define TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_IMPL_H_
+#include <fstream>
#include <vector>
#include "base/callback_forward.h"
@@ -93,6 +94,8 @@ class BattOrConnectionImpl
scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner_;
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner_;
+ std::fstream serial_log_;
+
DISALLOW_COPY_AND_ASSIGN(BattOrConnectionImpl);
};
« no previous file with comments | « no previous file | tools/battor_agent/battor_connection_impl.cc » ('j') | tools/battor_agent/battor_connection_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698