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

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

Issue 91373004: Move DBusClient stub implementations into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years 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 | « 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 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/memory/ref_counted_memory.h"
9 #include "base/platform_file.h" 10 #include "base/platform_file.h"
10 #include "base/memory/ref_counted_memory.h"
11 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
12 #include "chromeos/dbus/dbus_client.h" 12 #include "chromeos/dbus/dbus_client.h"
13 #include "chromeos/dbus/dbus_client_implementation_type.h" 13 #include "chromeos/dbus/dbus_client_implementation_type.h"
14 14
15 #include <map> 15 #include <map>
16 16
17 namespace metrics { 17 namespace metrics {
18 class PerfDataProto; 18 class PerfDataProto;
19 } 19 }
20 20
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 // Tests ICMP connectivity to a specified host. The |ip_address| contains the 137 // Tests ICMP connectivity to a specified host. The |ip_address| contains the
138 // IPv4 or IPv6 address of the host, for example "8.8.8.8". 138 // IPv4 or IPv6 address of the host, for example "8.8.8.8".
139 virtual void TestICMPWithOptions( 139 virtual void TestICMPWithOptions(
140 const std::string& ip_address, 140 const std::string& ip_address,
141 const std::map<std::string, std::string>& options, 141 const std::map<std::string, std::string>& options,
142 const TestICMPCallback& callback) = 0; 142 const TestICMPCallback& callback) = 0;
143 143
144 // Factory function, creates a new instance and returns ownership. 144 // Factory function, creates a new instance and returns ownership.
145 // For normal usage, access the singleton via DBusThreadManager::Get(). 145 // For normal usage, access the singleton via DBusThreadManager::Get().
146 static DebugDaemonClient* Create(DBusClientImplementationType type); 146 static DebugDaemonClient* Create();
147 147
148 protected: 148 protected:
149 // Create() should be used instead. 149 // Create() should be used instead.
150 DebugDaemonClient(); 150 DebugDaemonClient();
151 151
152 private: 152 private:
153 DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient); 153 DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient);
154 }; 154 };
155 155
156 } // namespace chromeos 156 } // namespace chromeos
157 157
158 #endif // CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_ 158 #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