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

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: 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;
stevenjb 2014/11/12 21:30:44 nit: WS
mukesh agrawal 2014/11/13 16:24:58 Done.
11 namespace wifi_sync {
12 class WifiCredentialSyncableService;
13 }
14
15 namespace wifi_credentials_helper {
16
17 // Used to access the WiFi credentials within a particular sync profile.
18 wifi_sync::WifiCredentialSyncableService*
19 GetServiceForBrowserContext(int profile_index);
20
21 // Used to access the WiFi credentials within the verifier sync profile.
22 wifi_sync::WifiCredentialSyncableService* GetVerifierService();
23
24 // Compare the WifiCredentialSyncableService for a given profile to
25 // the verifier. Returns true iff their user-visible fields match.
26 bool ServiceMatchesVerifier(int profile_index);
27
28 // Returns true iff all WifiCredentialSyncableServices match with the verifier.
29 bool AllServicesMatch();
30
31 } // namespace wifi_credentials_helper
32
33 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698