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

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

Issue 1426393003: NOT FOR REVIEW Base URL: https://chromium.googlesource.com/chromium/src.git@submit-4.5-split-wcss
Patch Set: Created 5 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 29 matching lines...) Expand all
40 40
41 // Returns a new WifiCredential constructed from the given parameters. 41 // Returns a new WifiCredential constructed from the given parameters.
42 scoped_ptr<wifi_sync::WifiCredential> MakeWifiCredential( 42 scoped_ptr<wifi_sync::WifiCredential> MakeWifiCredential(
43 const std::string& ssid, 43 const std::string& ssid,
44 wifi_sync::WifiSecurityClass security_class, 44 wifi_sync::WifiSecurityClass security_class,
45 const std::string& passphrase); 45 const std::string& passphrase);
46 46
47 // Adds a WiFi credential to the service at index |profile_index|, 47 // Adds a WiFi credential to the service at index |profile_index|,
48 // and the verifier (if the SyncTest uses a verifier). 48 // and the verifier (if the SyncTest uses a verifier).
49 void AddWifiCredential(int profile_index, 49 void AddWifiCredential(int profile_index,
50 const std::string& sync_id,
51 const wifi_sync::WifiCredential& credential); 50 const wifi_sync::WifiCredential& credential);
52 51
53 // Returns the set of WifiCredentials configured in local network 52 // Returns the set of WifiCredentials configured in local network
54 // settings, for |profile|. 53 // settings, for |profile|.
55 wifi_sync::WifiCredential::CredentialSet GetWifiCredentialsForProfile( 54 wifi_sync::WifiCredential::CredentialSet GetWifiCredentialsForProfile(
56 const Profile* profile); 55 const Profile* profile);
57 56
58 } // namespace wifi_credentials_helper 57 } // namespace wifi_credentials_helper
59 58
60 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_ 59 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698