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

Unified Diff: chromeos/dbus/debug_daemon_client.h

Issue 329853010: Additional methods for chrome.logPrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 5 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: chromeos/dbus/debug_daemon_client.h
diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h
index d1ed8b8835c1e81e2740093659499490f1728e2b..30cc5a4e04c498b2ee120e22c6bdd5849d2fdfae 100644
--- a/chromeos/dbus/debug_daemon_client.h
+++ b/chromeos/dbus/debug_daemon_client.h
@@ -29,9 +29,11 @@ class CHROMEOS_EXPORT DebugDaemonClient : public DBusClient {
typedef base::Callback<void(bool succeeded)> GetDebugLogsCallback;
// Requests to store debug logs into |file| and calls |callback|
- // when completed. Debug logs will be stored in the .tgz format.
- virtual void GetDebugLogs(base::File file,
- const GetDebugLogsCallback& callback) = 0;
+ // when completed. Debug logs will be stored in the .tgz if
+ // |is_compressed| is true, otherwise in logs will be stored in .tar format.
+ virtual void DumpDebugLogs(bool is_compressed,
+ base::File file,
+ const GetDebugLogsCallback& callback) = 0;
// Called once SetDebugMode() is complete. Takes one parameter:
// - succeeded: debug mode was changed successfully.
« no previous file with comments | « chrome/test/data/extensions/api_test/log_private/dump_logs/test.js ('k') | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698