OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_ |
| 7 |
| 8 // Functions needed by multiple wifi_credentials integration |
| 9 // tests. This module is platfrom-agnostic, and calls out to |
| 10 // platform-specific code as needed. |
| 11 namespace wifi_credentials_helper { |
| 12 |
| 13 // Checks if the verifier has any items in it. Returns true iff the |
| 14 // verifier has no items. |
| 15 bool VerifierIsEmpty(); |
| 16 |
| 17 // Compares the BrowserContext for |profile_index| with the |
| 18 // verifier. Returns true iff their WiFi credentials match. |
| 19 bool ProfileMatchesVerifier(int profile_index); |
| 20 |
| 21 // Returns true iff all BrowserContexts match with the verifier. |
| 22 bool AllProfilesMatch(); |
| 23 |
| 24 } // namespace wifi_credentials_helper |
| 25 |
| 26 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_ |
OLD | NEW |