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

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: fix compilation errors 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..e77a2ff1432d77ee540668d808747b18695f1ac4 100644
--- a/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h
+++ b/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h
@@ -11,10 +11,27 @@ class Profile;
namespace wifi_credentials_helper {
+namespace chromeos {
+
+// 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);
+} // namespace chromeos
+
} // namespace wifi_credentials_helper
#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_CHROMEOS_H_

Powered by Google App Engine
This is Rietveld 408576698