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..85170d41fe3124f40a4381c3b61c1875c467f8c7 |
--- /dev/null |
+++ b/chrome/browser/sync/test/integration/wifi_credentials_helper.h |
@@ -0,0 +1,33 @@ |
+// 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; |
stevenjb
2014/11/12 21:30:44
nit: WS
mukesh agrawal
2014/11/13 16:24:58
Done.
|
+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_ |