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

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

Issue 2463463004: [Sync] Rename wifi_sync to sync_wifi. (Closed)
Patch Set: Created 4 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 #include "chrome/browser/sync/test/integration/wifi_credentials_helper.h" 5 #include "chrome/browser/sync/test/integration/wifi_credentials_helper.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" 11 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
12 #include "chrome/browser/sync/test/integration/sync_test.h" 12 #include "chrome/browser/sync/test/integration/sync_test.h"
13 #include "components/wifi_sync/wifi_credential_syncable_service.h" 13 #include "components/sync_wifi/wifi_credential_syncable_service.h"
14 #include "components/wifi_sync/wifi_credential_syncable_service_factory.h" 14 #include "components/sync_wifi/wifi_credential_syncable_service_factory.h"
15 15
16 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
17 #include "chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos. h" 17 #include "chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos. h"
18 #endif 18 #endif
19 19
20 using wifi_sync::WifiCredential; 20 using sync_wifi::WifiCredential;
21 using wifi_sync::WifiCredentialSyncableService; 21 using sync_wifi::WifiCredentialSyncableService;
22 using wifi_sync::WifiCredentialSyncableServiceFactory; 22 using sync_wifi::WifiCredentialSyncableServiceFactory;
23 using wifi_sync::WifiSecurityClass; 23 using sync_wifi::WifiSecurityClass;
24 using sync_datatype_helper::test; 24 using sync_datatype_helper::test;
25 25
26 using WifiCredentialSet = wifi_sync::WifiCredential::CredentialSet; 26 using WifiCredentialSet = sync_wifi::WifiCredential::CredentialSet;
27 27
28 namespace wifi_credentials_helper { 28 namespace wifi_credentials_helper {
29 29
30 namespace { 30 namespace {
31 31
32 void SetupClientForProfile(Profile* profile) { 32 void SetupClientForProfile(Profile* profile) {
33 #if defined(OS_CHROMEOS) 33 #if defined(OS_CHROMEOS)
34 wifi_credentials_helper::chromeos::SetupClientForProfileChromeOs(profile); 34 wifi_credentials_helper::chromeos::SetupClientForProfileChromeOs(profile);
35 #else 35 #else
36 NOTREACHED(); 36 NOTREACHED();
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 #if defined(OS_CHROMEOS) 156 #if defined(OS_CHROMEOS)
157 return wifi_credentials_helper::chromeos:: 157 return wifi_credentials_helper::chromeos::
158 GetWifiCredentialsForProfileChromeOs(profile); 158 GetWifiCredentialsForProfileChromeOs(profile);
159 #else 159 #else
160 NOTREACHED(); 160 NOTREACHED();
161 return WifiCredential::MakeSet(); 161 return WifiCredential::MakeSet();
162 #endif 162 #endif
163 } 163 }
164 164
165 } // namespace wifi_credentials_helper 165 } // namespace wifi_credentials_helper
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698