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

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

Issue 1614063005: Adds a callback to TracingAgent::StartAgentTracing() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FAKE_DEBUG_DAEMON_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 13 matching lines...) Expand all
24 24
25 void Init(dbus::Bus* bus) override; 25 void Init(dbus::Bus* bus) override;
26 void DumpDebugLogs(bool is_compressed, 26 void DumpDebugLogs(bool is_compressed,
27 base::File file, 27 base::File file,
28 scoped_refptr<base::TaskRunner> task_runner, 28 scoped_refptr<base::TaskRunner> task_runner,
29 const GetDebugLogsCallback& callback) override; 29 const GetDebugLogsCallback& callback) override;
30 void SetDebugMode(const std::string& subsystem, 30 void SetDebugMode(const std::string& subsystem,
31 const SetDebugModeCallback& callback) override; 31 const SetDebugModeCallback& callback) override;
32 std::string GetTracingAgentName() override; 32 std::string GetTracingAgentName() override;
33 std::string GetTraceEventLabel() override; 33 std::string GetTraceEventLabel() override;
34 bool StartAgentTracing( 34 void StartAgentTracing(const base::trace_event::TraceConfig& trace_config,
35 const base::trace_event::TraceConfig& trace_config) override; 35 const StartAgentTracingCallback& callback) override;
36 void StopAgentTracing(const StopAgentTracingCallback& callback) override; 36 void StopAgentTracing(const StopAgentTracingCallback& callback) override;
37 void SetStopAgentTracingTaskRunner( 37 void SetStopAgentTracingTaskRunner(
38 scoped_refptr<base::TaskRunner> task_runner) override; 38 scoped_refptr<base::TaskRunner> task_runner) override;
39 void GetRoutes(bool numeric, 39 void GetRoutes(bool numeric,
40 bool ipv6, 40 bool ipv6,
41 const GetRoutesCallback& callback) override; 41 const GetRoutesCallback& callback) override;
42 void GetNetworkStatus(const GetNetworkStatusCallback& callback) override; 42 void GetNetworkStatus(const GetNetworkStatusCallback& callback) override;
43 void GetModemStatus(const GetModemStatusCallback& callback) override; 43 void GetModemStatus(const GetModemStatusCallback& callback) override;
44 void GetWiMaxStatus(const GetWiMaxStatusCallback& callback) override; 44 void GetWiMaxStatus(const GetWiMaxStatusCallback& callback) override;
45 void GetNetworkInterfaces( 45 void GetNetworkInterfaces(
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool service_is_available_; 79 bool service_is_available_;
80 std::vector<WaitForServiceToBeAvailableCallback> 80 std::vector<WaitForServiceToBeAvailableCallback>
81 pending_wait_for_service_to_be_available_callbacks_; 81 pending_wait_for_service_to_be_available_callbacks_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(FakeDebugDaemonClient); 83 DISALLOW_COPY_AND_ASSIGN(FakeDebugDaemonClient);
84 }; 84 };
85 85
86 } // namespace chromeos 86 } // namespace chromeos
87 87
88 #endif // CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ 88 #endif // CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698