OLD | NEW |
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 "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" | 11 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" |
11 #include "chrome/browser/sync/test/integration/sync_test.h" | 12 #include "chrome/browser/sync/test/integration/sync_test.h" |
12 #include "components/wifi_sync/wifi_credential_syncable_service.h" | 13 #include "components/wifi_sync/wifi_credential_syncable_service.h" |
13 #include "components/wifi_sync/wifi_credential_syncable_service_factory.h" | 14 #include "components/wifi_sync/wifi_credential_syncable_service_factory.h" |
14 | 15 |
15 #if defined(OS_CHROMEOS) | 16 #if defined(OS_CHROMEOS) |
16 #include "chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.
h" | 17 #include "chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.
h" |
17 #endif | 18 #endif |
18 | 19 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 #if defined(OS_CHROMEOS) | 155 #if defined(OS_CHROMEOS) |
155 return wifi_credentials_helper::chromeos:: | 156 return wifi_credentials_helper::chromeos:: |
156 GetWifiCredentialsForProfileChromeOs(profile); | 157 GetWifiCredentialsForProfileChromeOs(profile); |
157 #else | 158 #else |
158 NOTREACHED(); | 159 NOTREACHED(); |
159 return WifiCredential::MakeSet(); | 160 return WifiCredential::MakeSet(); |
160 #endif | 161 #endif |
161 } | 162 } |
162 | 163 |
163 } // namespace wifi_credentials_helper | 164 } // namespace wifi_credentials_helper |
OLD | NEW |