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

Unified 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: Elim. shill_stub_helper and move functions to clients. Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/shill_manager_client.h
diff --git a/chromeos/dbus/shill_manager_client.h b/chromeos/dbus/shill_manager_client.h
index a128b469748609dbad202f10859575f18ec431e3..970c1ca823caba0d3e87771655114286efe71f29 100644
--- a/chromeos/dbus/shill_manager_client.h
+++ b/chromeos/dbus/shill_manager_client.h
@@ -68,6 +68,15 @@ class CHROMEOS_EXPORT ShillManagerClient : public DBusClient {
// Services are sorted first by Active vs. Inactive State, then by Type.
virtual void SortManagerServices() = 0;
+ // Returns the interactive delay specified on the command line, 0 for none.
+ virtual int GetInteractiveDelay() const = 0;
+
+ // Returns the initial state value for the default network matching |type|.
+ // Note: these do not map directly to Service.State values, see
+ // FakeShillManagerClient::ParseOption for details. Defaults to
+ // shill::kStateOffline (unavailable).
+ virtual std::string GetInitialState(const std::string& type) const = 0;
+
protected:
virtual ~TestInterface() {}
};

Powered by Google App Engine
This is Rietveld 408576698