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

Side by Side Diff: chrome/browser/sync/test/integration/wifi_credentials_helper.h

Issue 709683004: components: add wifi_sync component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@submit-1-security-class
Patch Set: update BUILD.gn and commit message Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
(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 #include "components/wifi_sync/wifi_security_class.h"
9
10 class Profile;
11
12 namespace wifi_sync {
13 class WifiCredentialSyncableService;
14 }
15
16 namespace wifi_credentials_helper {
17
18 // Used to access the WiFi credentials within a particular sync profile.
mukesh agrawal 2014/12/03 01:44:43 Removed this, since the test cases no longer use t
19 wifi_sync::WifiCredentialSyncableService*
20 GetServiceForBrowserContext(int profile_index);
21
22 // Used to access the WiFi credentials within the verifier sync profile.
mukesh agrawal 2014/12/03 01:44:43 Same as above.
23 wifi_sync::WifiCredentialSyncableService* GetVerifierService();
24
25 // Compare the WifiCredentialSyncableService for a given profile to
26 // the verifier. Returns true iff their user-visible fields match.
27 bool ServiceMatchesVerifier(int profile_index);
28
29 // Returns true iff all WifiCredentialSyncableServices match with the verifier.
30 bool AllServicesMatch();
31
32 } // namespace wifi_credentials_helper
33
34 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698