| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/wifi_sync/wifi_credential_syncable_service.h" | 5 #include "components/wifi_sync/wifi_credential_syncable_service.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include <string> | 9 #include <string> |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 13 #include "base/tracked_objects.h" | 15 #include "base/tracked_objects.h" |
| 14 #include "components/wifi_sync/wifi_config_delegate.h" | 16 #include "components/wifi_sync/wifi_config_delegate.h" |
| 15 #include "components/wifi_sync/wifi_credential.h" | 17 #include "components/wifi_sync/wifi_credential.h" |
| 16 #include "components/wifi_sync/wifi_security_class.h" | 18 #include "components/wifi_sync/wifi_security_class.h" |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 MakeCredential(kSsidNonUtf8, SECURITY_CLASS_NONE, ""))); | 332 MakeCredential(kSsidNonUtf8, SECURITY_CLASS_NONE, ""))); |
| 331 EXPECT_EQ(1, change_processor_changes_size()); | 333 EXPECT_EQ(1, change_processor_changes_size()); |
| 332 EXPECT_FALSE( | 334 EXPECT_FALSE( |
| 333 AddToSyncedNetworks( | 335 AddToSyncedNetworks( |
| 334 "fake-item-id", | 336 "fake-item-id", |
| 335 MakeCredential(kSsidNonUtf8, SECURITY_CLASS_NONE, ""))); | 337 MakeCredential(kSsidNonUtf8, SECURITY_CLASS_NONE, ""))); |
| 336 EXPECT_EQ(1, change_processor_changes_size()); | 338 EXPECT_EQ(1, change_processor_changes_size()); |
| 337 } | 339 } |
| 338 | 340 |
| 339 } // namespace wifi_sync | 341 } // namespace wifi_sync |
| OLD | NEW |