| Index: chrome/browser/sync/test/integration/wifi_credentials_helper.h
|
| diff --git a/chrome/browser/sync/test/integration/wifi_credentials_helper.h b/chrome/browser/sync/test/integration/wifi_credentials_helper.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cc11b5bdbf6282fb6cf249eeab5ee2640f2149e5
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/test/integration/wifi_credentials_helper.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
|
| +#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
|
| +
|
| +#include "components/wifi_sync/wifi_security_class.h"
|
| +
|
| +class Profile;
|
| +
|
| +namespace wifi_sync {
|
| +class WifiCredentialSyncableService;
|
| +}
|
| +
|
| +namespace wifi_credentials_helper {
|
| +
|
| +// Used to access the WiFi credentials within a particular sync profile.
|
| +wifi_sync::WifiCredentialSyncableService*
|
| + GetServiceForBrowserContext(int profile_index);
|
| +
|
| +// Used to access the WiFi credentials within the verifier sync profile.
|
| +wifi_sync::WifiCredentialSyncableService* GetVerifierService();
|
| +
|
| +// Compare the WifiCredentialSyncableService for a given profile to
|
| +// the verifier. Returns true iff their user-visible fields match.
|
| +bool ServiceMatchesVerifier(int profile_index);
|
| +
|
| +// Returns true iff all WifiCredentialSyncableServices match with the verifier.
|
| +bool AllServicesMatch();
|
| +
|
| +} // namespace wifi_credentials_helper
|
| +
|
| +#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
|
|
|