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

Unified Diff: chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h

Issue 843483004: sync: add more integration tests for wifi_sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@submit-4.3-syncable-service
Patch Set: rebase Created 5 years, 11 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: chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h
diff --git a/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h b/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h
index dc10c3f67f8a59d496355726f049fe9c177e7fad..9d20e54a10414f0e060895cacaa695728276dfab 100644
--- a/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h
+++ b/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h
@@ -11,6 +11,19 @@ class Profile;
namespace wifi_credentials_helper {
stevenjb 2015/01/28 21:29:43 I would add a 'chromeos' namespace here, just to b
mukesh agrawal 2015/01/28 22:55:11 Done.
+// Performs ChromeOS-specific setup.
+void SetUpChromeOs();
+
+// Performs ChromeOS-specific setup for a given sync client, given
+// that client's Profile.
+bool SetupClientForProfileChromeOs(const Profile* profile);
+
+// Adds a WiFi credential to the ChromeOS networking backend,
+// associating the credential with the ChromeOS networking state that
+// corresonds to |profile|.
+void AddWifiCredentialToProfileChromeOs(
+ Profile* profile, const wifi_sync::WifiCredential& credential);
+
// Returns the ChromeOS WiFi credentials associated with |profile|.
wifi_sync::WifiCredential::CredentialSet GetWifiCredentialsForProfileChromeOs(
const Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698