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

Side by Side Diff: chromeos/dbus/debug_daemon_client.h

Issue 2944403002: Add GetLog method call to DebugDaemonClient (Closed)
Patch Set: Return success=true in FakeDebugDaemonClient::GetLog() Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
6 #define CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_ 6 #define CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // returned directly from D-Bus. These logs will include ARC and cheets 122 // returned directly from D-Bus. These logs will include ARC and cheets
123 // system information. 123 // system information.
124 virtual void GetScrubbedBigLogs(const GetLogsCallback& callback) = 0; 124 virtual void GetScrubbedBigLogs(const GetLogsCallback& callback) = 0;
125 125
126 // Gets all logs collected by debugd. 126 // Gets all logs collected by debugd.
127 virtual void GetAllLogs(const GetLogsCallback& callback) = 0; 127 virtual void GetAllLogs(const GetLogsCallback& callback) = 0;
128 128
129 // Gets list of user log files that must be read by Chrome. 129 // Gets list of user log files that must be read by Chrome.
130 virtual void GetUserLogFiles(const GetLogsCallback& callback) = 0; 130 virtual void GetUserLogFiles(const GetLogsCallback& callback) = 0;
131 131
132 // Gets an individual log source provided by debugd.
133 virtual void GetLog(const std::string& log_name,
134 const GetLogsCallback& callback) = 0;
135
132 virtual void SetStopAgentTracingTaskRunner( 136 virtual void SetStopAgentTracingTaskRunner(
133 scoped_refptr<base::TaskRunner> task_runner) = 0; 137 scoped_refptr<base::TaskRunner> task_runner) = 0;
134 138
135 // Returns an empty StopAgentTracingCallback that does nothing. 139 // Returns an empty StopAgentTracingCallback that does nothing.
136 static StopAgentTracingCallback EmptyStopAgentTracingCallback(); 140 static StopAgentTracingCallback EmptyStopAgentTracingCallback();
137 141
138 // Called once TestICMP() is complete. Takes two parameters: 142 // Called once TestICMP() is complete. Takes two parameters:
139 // - succeeded: information was obtained successfully. 143 // - succeeded: information was obtained successfully.
140 // - status: information about ICMP connectivity to a specified host as json. 144 // - status: information about ICMP connectivity to a specified host as json.
141 // For details please refer to 145 // For details please refer to
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // Create() should be used instead. 261 // Create() should be used instead.
258 DebugDaemonClient(); 262 DebugDaemonClient();
259 263
260 private: 264 private:
261 DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient); 265 DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient);
262 }; 266 };
263 267
264 } // namespace chromeos 268 } // namespace chromeos
265 269
266 #endif // CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_ 270 #endif // CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/debug_daemon_client.cc » ('j') | chromeos/dbus/debug_daemon_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698