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

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: use directory-level deps (instead of file-level) 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 {
pneubeck (no reviews) 2015/01/30 14:38:45 some of this code is for testing only, please cons
mukesh agrawal 2015/01/30 22:28:14 Actually, _all_ of this code is for testing only :
pneubeck (no reviews) 2015/01/31 10:26:40 sorry, I actually missed the /test/ part of the pa
mukesh agrawal 2015/02/02 20:36:40 Acknowledged.
+namespace chromeos {
+
+// Performs ChromeOS-specific setup.
+void SetUpChromeOs();
+
+// Performs ChromeOS-specific setup for a given sync client, given
pneubeck (no reviews) 2015/01/30 14:38:45 should be called only after SetUpChromeOs ?
mukesh agrawal 2015/01/30 22:28:14 Done.
+// that client's Profile.
+bool SetupClientForProfileChromeOs(const Profile* profile);
pneubeck (no reviews) 2015/01/30 14:38:45 if these function can use BrowserContext instead o
mukesh agrawal 2015/01/30 22:28:14 Done.
+
+// 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