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

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: Fix nonchromeos 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
« no previous file with comments | « chrome/test/data/extensions/api_test/networking/test.js ('k') | chromeos/dbus/fake_shill_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b235f93c55cd05e64f58fcc15c2d1b36e4f233eb..43a93aefc7629193b8e35e3ae6e262ad601599f2 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;
@@ -107,6 +108,9 @@ class CHROMEOS_EXPORT FakeShillManagerClient
const std::string& service_path) 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;
« no previous file with comments | « chrome/test/data/extensions/api_test/networking/test.js ('k') | chromeos/dbus/fake_shill_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698