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

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: Rebase 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
« no previous file with comments | « chromeos/dbus/fake_shill_service_client.cc ('k') | chromeos/dbus/shill_stub_helper.h » ('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_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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // before notifying observers. Sets the DefaultService property to empty 72 // before notifying observers. Sets the DefaultService property to empty
73 // if the state changes to a non-connected state. 73 // if the state changes to a non-connected state.
74 virtual void ServiceStateChanged(const std::string& service_path, 74 virtual void ServiceStateChanged(const std::string& service_path,
75 const std::string& state) = 0; 75 const std::string& state) = 0;
76 76
77 // Called by ShillServiceClient when a service's State property changes, 77 // Called by ShillServiceClient when a service's State property changes,
78 // after notifying observers. Services are sorted first by Active or 78 // after notifying observers. Services are sorted first by Active or
79 // Inactive State, then by Type. 79 // Inactive State, then by Type.
80 virtual void SortManagerServices() = 0; 80 virtual void SortManagerServices() = 0;
81 81
82 // Sets up the default fake environment based on default initial states
83 // or states provided by the command line.
84 virtual void SetupDefaultEnvironment() = 0;
85
86 // Returns the interactive delay specified on the command line, 0 for none.
87 virtual int GetInteractiveDelay() const = 0;
88
82 protected: 89 protected:
83 virtual ~TestInterface() {} 90 virtual ~TestInterface() {}
84 }; 91 };
85 92
86 // Properties used to verify the origin device. 93 // Properties used to verify the origin device.
87 struct VerificationProperties { 94 struct VerificationProperties {
88 VerificationProperties(); 95 VerificationProperties();
89 ~VerificationProperties(); 96 ~VerificationProperties();
90 97
91 // A string containing a PEM-encoded X.509 certificate for use in verifying 98 // 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
221 // Create() should be used instead. 228 // Create() should be used instead.
222 ShillManagerClient(); 229 ShillManagerClient();
223 230
224 private: 231 private:
225 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient); 232 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient);
226 }; 233 };
227 234
228 } // namespace chromeos 235 } // namespace chromeos
229 236
230 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ 237 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_shill_service_client.cc ('k') | chromeos/dbus/shill_stub_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698