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

Unified Diff: chromeos/dbus/fake_shill_manager_client.h

Issue 280023003: Implement networkingPrivate.getNetworks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/fake_shill_manager_client.h
diff --git a/chromeos/dbus/fake_shill_manager_client.h b/chromeos/dbus/fake_shill_manager_client.h
index 339e0d16b8845889f2a911c8f7c95a70fc3d47e0..22fd0e1249b06926bb1cd4e1d03e55a8171b5dc0 100644
--- a/chromeos/dbus/fake_shill_manager_client.h
+++ b/chromeos/dbus/fake_shill_manager_client.h
@@ -96,7 +96,8 @@ class CHROMEOS_EXPORT FakeShillManagerClient
virtual void AddManagerService(const std::string& service_path,
bool add_to_visible_list,
bool add_to_watch_list) OVERRIDE;
- virtual void RemoveManagerService(const std::string& service_path) OVERRIDE;
+ virtual void RemoveManagerService(const std::string& service_path,
+ bool remove_from_complete_list) OVERRIDE;
virtual void ClearManagerServices() OVERRIDE;
virtual void ServiceStateChanged(const std::string& service_path,
const std::string& state) OVERRIDE;
@@ -105,6 +106,9 @@ class CHROMEOS_EXPORT FakeShillManagerClient
virtual int GetInteractiveDelay() const OVERRIDE;
private:
+ // |property| should be kServicesProperty or kServiceCompleteListProperty.
+ void SortServiceList(const std::string& property);
+
void AddServiceToWatchList(const std::string& service_path);
void SetDefaultProperties();
void PassStubProperties(const DictionaryValueCallback& callback) const;

Powered by Google App Engine
This is Rietveld 408576698