Index: chrome/browser/chromeos/system_logs/debug_daemon_log_source.h |
diff --git a/chrome/browser/chromeos/system_logs/debug_daemon_log_source.h b/chrome/browser/chromeos/system_logs/debug_daemon_log_source.h |
index dd483d5ca04d010b79fc616879d1bf93b86d1e5f..1e5195860563d13286b8d86d1a6da554a7739396 100644 |
--- a/chrome/browser/chromeos/system_logs/debug_daemon_log_source.h |
+++ b/chrome/browser/chromeos/system_logs/debug_daemon_log_source.h |
@@ -27,12 +27,21 @@ class DebugDaemonLogSource : public SystemLogsSource { |
virtual void Fetch(const SysLogsSourceCallback& callback) OVERRIDE; |
private: |
- // Callbacks for the 4 different dbus calls |
+ typedef std::map<std::string, std::string> KeyValueMap; |
+ |
+ // Callbacks for the 5 different dbus calls to debugd. |
void OnGetRoutes(bool succeeded, const std::vector<std::string>& routes); |
void OnGetNetworkStatus(bool succeeded, const std::string& status); |
void OnGetModemStatus(bool succeeded, const std::string& status); |
void OnGetLogs(bool succeeded, |
- const std::map<std::string, std::string>& logs); |
+ const KeyValueMap& logs); |
+ void OnGetUserLogFiles(bool succeeded, |
+ const KeyValueMap& logs); |
+ |
+ // Read the contents of the specified user logs files and adds it to |
+ // the response. |
+ void ReadUserLogFiles(const KeyValueMap& user_log_files); |
+ |
// Sends the data to the callback_ when all the requests are completed |
void RequestCompleted(); |