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

Unified Diff: chromeos/dbus/fake_shill_profile_client.h

Issue 2754903002: Prevent networkingPrivate.forgetNetwork from removing shared configs (Closed)
Patch Set: . Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/fake_shill_profile_client.h
diff --git a/chromeos/dbus/fake_shill_profile_client.h b/chromeos/dbus/fake_shill_profile_client.h
index a28c7e4aa287bee512b30813ecc9e2196a871501..403a23eb3e6e539174e2e312adb9efd06b68833c 100644
--- a/chromeos/dbus/fake_shill_profile_client.h
+++ b/chromeos/dbus/fake_shill_profile_client.h
@@ -56,6 +56,9 @@ class CHROMEOS_EXPORT FakeShillProfileClient :
bool UpdateService(const std::string& profile_path,
const std::string& service_path) override;
void GetProfilePaths(std::vector<std::string>* profiles) override;
+ void GetProfilePathsContainingService(
+ const std::string& service_path,
+ std::vector<std::string>* profiles) override;
bool GetService(const std::string& service_path,
std::string* profile_path,
base::DictionaryValue* properties) override;
@@ -72,6 +75,11 @@ class CHROMEOS_EXPORT FakeShillProfileClient :
ProfileProperties* GetProfile(const dbus::ObjectPath& profile_path,
const ErrorCallback& error_callback);
+ bool GetServiceDataFromProfile(const ProfileMap::iterator& iter,
+ const std::string& service_path,
+ std::string* profile_path,
+ base::DictionaryValue* properties);
+
ProfileMap profiles_;
DISALLOW_COPY_AND_ASSIGN(FakeShillProfileClient);

Powered by Google App Engine
This is Rietveld 408576698