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

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

Issue 10831059: debugd: Add GetNetworkInterfaces functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/callback.h" 8 #include "base/callback.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/memory/ref_counted_memory.h" 10 #include "base/memory/ref_counted_memory.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 typedef base::Callback<void(bool succeeded, const std::string& status)> 52 typedef base::Callback<void(bool succeeded, const std::string& status)>
53 GetNetworkStatusCallback; 53 GetNetworkStatusCallback;
54 54
55 virtual void GetNetworkStatus(const GetNetworkStatusCallback& callback) = 0; 55 virtual void GetNetworkStatus(const GetNetworkStatusCallback& callback) = 0;
56 56
57 typedef base::Callback<void(bool succeeded, const std::string& status)> 57 typedef base::Callback<void(bool succeeded, const std::string& status)>
58 GetModemStatusCallback; 58 GetModemStatusCallback;
59 59
60 virtual void GetModemStatus(const GetModemStatusCallback& callback) = 0; 60 virtual void GetModemStatus(const GetModemStatusCallback& callback) = 0;
61 61
62 typedef base::Callback<void(bool succeeded, const std::string& status)>
satorux1 2012/07/31 20:36:52 how does |status| look like? Could you add some co
hshi1 2012/07/31 21:32:02 The |status| is a json containing a fairly complic
satorux1 2012/07/31 21:35:45 Would be nice to add a pointer to the documentatio
hshi1 2012/07/31 21:44:45 Done.
63 GetInterfacesCallback;
64
65 virtual void GetInterfaces(const GetInterfacesCallback& callback) = 0;
satorux1 2012/07/31 20:36:52 the function comment is missing here and elsewhere
hshi1 2012/07/31 21:32:02 Done. On 2012/07/31 20:36:52, satorux1 wrote:
66
62 typedef base::Callback<void(bool succeeded, 67 typedef base::Callback<void(bool succeeded,
63 const std::map<std::string, std::string>& logs)> 68 const std::map<std::string, std::string>& logs)>
64 GetAllLogsCallback; 69 GetAllLogsCallback;
65 virtual void GetAllLogs(const GetAllLogsCallback& callback) = 0; 70 virtual void GetAllLogs(const GetAllLogsCallback& callback) = 0;
66 71
67 // Requests to start system/kernel tracing. 72 // Requests to start system/kernel tracing.
68 virtual void StartSystemTracing() = 0; 73 virtual void StartSystemTracing() = 0;
69 74
70 // Called once RequestStopSystemTracing() is complete. Takes one parameter: 75 // Called once RequestStopSystemTracing() is complete. Takes one parameter:
71 // - result: the data collected while tracing was active 76 // - result: the data collected while tracing was active
(...skipping 15 matching lines...) Expand all
87 // Create() should be used instead. 92 // Create() should be used instead.
88 DebugDaemonClient(); 93 DebugDaemonClient();
89 94
90 private: 95 private:
91 DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient); 96 DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient);
92 }; 97 };
93 98
94 } // namespace chromeos 99 } // namespace chromeos
95 100
96 #endif // CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_ 101 #endif // CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698