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

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

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.cc ('k') | 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 CHROME_BROWSER_CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
6 #define CHROME_BROWSER_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/memory/ref_counted_memory.h" 9 #include "base/memory/ref_counted_memory.h"
10 #include "chrome/browser/chromeos/dbus/dbus_client_implementation_type.h" 10 #include "chromeos/chromeos_export.h"
11 #include "chromeos/dbus/dbus_client_implementation_type.h"
11 12
12 namespace dbus { 13 namespace dbus {
13 class Bus; 14 class Bus;
14 } // namespace dbus 15 } // namespace dbus
15 16
16 namespace chromeos { 17 namespace chromeos {
17 18
18 // DebugDaemonClient is used to communicate with the debug daemon. 19 // DebugDaemonClient is used to communicate with the debug daemon.
19 class DebugDaemonClient { 20 class CHROMEOS_EXPORT DebugDaemonClient {
20 public: 21 public:
21 virtual ~DebugDaemonClient(); 22 virtual ~DebugDaemonClient();
22 23
23 // Requests to start system/kernel tracing. 24 // Requests to start system/kernel tracing.
24 virtual void StartSystemTracing() = 0; 25 virtual void StartSystemTracing() = 0;
25 26
26 // Called once RequestStopSystemTracing() is complete. Takes one parameter: 27 // Called once RequestStopSystemTracing() is complete. Takes one parameter:
27 // - result: the data collected while tracing was active 28 // - result: the data collected while tracing was active
28 typedef base::Callback<void(const scoped_refptr<base::RefCountedString>& 29 typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&
29 result)> StopSystemTracingCallback; 30 result)> StopSystemTracingCallback;
(...skipping 12 matching lines...) Expand all
42 protected: 43 protected:
43 // Create() should be used instead. 44 // Create() should be used instead.
44 DebugDaemonClient(); 45 DebugDaemonClient();
45 46
46 private: 47 private:
47 DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient); 48 DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient);
48 }; 49 };
49 50
50 } // namespace chromeos 51 } // namespace chromeos
51 52
52 #endif // CHROME_BROWSER_CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_ 53 #endif // CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698