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

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

Issue 181413006: Replace misc. network stub flags with more flexible ones (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback Created 6 years, 9 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_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void AddManagerService(const std::string& service_path, 61 virtual void AddManagerService(const std::string& service_path,
62 bool add_to_visible_list, 62 bool add_to_visible_list,
63 bool add_to_watch_list) = 0; 63 bool add_to_watch_list) = 0;
64 virtual void RemoveManagerService(const std::string& service_path) = 0; 64 virtual void RemoveManagerService(const std::string& service_path) = 0;
65 virtual void ClearManagerServices() = 0; 65 virtual void ClearManagerServices() = 0;
66 66
67 // Called by ShillServiceClient when a service's State property changes. 67 // Called by ShillServiceClient when a service's State property changes.
68 // Services are sorted first by Active vs. Inactive State, then by Type. 68 // Services are sorted first by Active vs. Inactive State, then by Type.
69 virtual void SortManagerServices() = 0; 69 virtual void SortManagerServices() = 0;
70 70
71 // Sets up the default fake environment based on default initial states
72 // or states provided by the command line.
73 virtual void SetupDefaultEnvironment() = 0;
74
75 // Returns the interactive delay specified on the command line, 0 for none.
76 virtual int GetInteractiveDelay() const = 0;
77
71 protected: 78 protected:
72 virtual ~TestInterface() {} 79 virtual ~TestInterface() {}
73 }; 80 };
74 81
75 // Properties used to verify the origin device. 82 // Properties used to verify the origin device.
76 struct VerificationProperties { 83 struct VerificationProperties {
77 VerificationProperties(); 84 VerificationProperties();
78 ~VerificationProperties(); 85 ~VerificationProperties();
79 86
80 // A string containing a PEM-encoded X.509 certificate for use in verifying 87 // A string containing a PEM-encoded X.509 certificate for use in verifying
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // Create() should be used instead. 217 // Create() should be used instead.
211 ShillManagerClient(); 218 ShillManagerClient();
212 219
213 private: 220 private:
214 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient); 221 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient);
215 }; 222 };
216 223
217 } // namespace chromeos 224 } // namespace chromeos
218 225
219 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ 226 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698