Chromium Code Reviews| 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_ |