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

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

Issue 284673004: Improve functionality of FakeShillProfileClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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_SHILL_SERVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class TestInterface { 44 class TestInterface {
45 public: 45 public:
46 // Adds a Service to the Manager and Service stubs. 46 // Adds a Service to the Manager and Service stubs.
47 virtual void AddService(const std::string& service_path, 47 virtual void AddService(const std::string& service_path,
48 const std::string& name, 48 const std::string& name,
49 const std::string& type, 49 const std::string& type,
50 const std::string& state, 50 const std::string& state,
51 bool add_to_visible_list, 51 bool add_to_visible_list,
52 bool add_to_watch_list) = 0; 52 bool add_to_watch_list) = 0;
53 virtual void AddServiceWithIPConfig(const std::string& service_path, 53 virtual void AddServiceWithIPConfig(const std::string& service_path,
54 const std::string& guid,
54 const std::string& name, 55 const std::string& name,
55 const std::string& type, 56 const std::string& type,
56 const std::string& state, 57 const std::string& state,
57 const std::string& ipconfig_path, 58 const std::string& ipconfig_path,
58 bool add_to_visible_list, 59 bool add_to_visible_list,
59 bool add_to_watch_list) = 0; 60 bool add_to_watch_list) = 0;
60 61
61 // Removes a Service to the Manager and Service stubs. 62 // Removes a Service to the Manager and Service stubs.
62 virtual void RemoveService(const std::string& service_path) = 0; 63 virtual void RemoveService(const std::string& service_path) = 0;
63 64
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Create() should be used instead. 178 // Create() should be used instead.
178 ShillServiceClient(); 179 ShillServiceClient();
179 180
180 private: 181 private:
181 DISALLOW_COPY_AND_ASSIGN(ShillServiceClient); 182 DISALLOW_COPY_AND_ASSIGN(ShillServiceClient);
182 }; 183 };
183 184
184 } // namespace chromeos 185 } // namespace chromeos
185 186
186 #endif // CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_ 187 #endif // CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698