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

Unified Diff: chromeos/dbus/fake_shill_manager_client.h

Issue 299403012: Clean up shill fake implementations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 43a93aefc7629193b8e35e3ae6e262ad601599f2..e0f4a22daf7c830c94b45de551d613a47a1ed42b 100644
--- a/chromeos/dbus/fake_shill_manager_client.h
+++ b/chromeos/dbus/fake_shill_manager_client.h
@@ -94,8 +94,7 @@ class CHROMEOS_EXPORT FakeShillManagerClient
virtual void SetManagerProperty(const std::string& key,
const base::Value& value) OVERRIDE;
virtual void AddManagerService(const std::string& service_path,
- bool add_to_visible_list,
- bool add_to_watch_list) OVERRIDE;
+ bool add_to_visible_list) OVERRIDE;
virtual void RemoveManagerService(const std::string& service_path,
bool remove_from_complete_list) OVERRIDE;
virtual void ClearManagerServices() OVERRIDE;
@@ -107,11 +106,13 @@ class CHROMEOS_EXPORT FakeShillManagerClient
virtual void SetBestServiceToConnect(
const std::string& service_path) OVERRIDE;
+ // Constants used for testing.
+ static const char kFakeEthernetNetworkPath[];
+
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;
void PassStubGeoNetworks(const DictionaryValueCallback& callback) const;

Powered by Google App Engine
This is Rietveld 408576698