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 "components/password_manager/core/browser/password_syncable_service.h" | 5 #include "components/password_manager/core/browser/password_syncable_service.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
18 #include "components/password_manager/core/browser/mock_password_store.h" | 18 #include "components/password_manager/core/browser/mock_password_store.h" |
19 #include "sync/api/sync_change_processor.h" | 19 #include "components/sync/api/sync_change_processor.h" |
20 #include "sync/api/sync_error.h" | 20 #include "components/sync/api/sync_error.h" |
21 #include "sync/api/sync_error_factory_mock.h" | 21 #include "components/sync/api/sync_error_factory_mock.h" |
22 #include "testing/gmock/include/gmock/gmock.h" | 22 #include "testing/gmock/include/gmock/gmock.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
24 | 24 |
25 using syncer::SyncChange; | 25 using syncer::SyncChange; |
26 using syncer::SyncData; | 26 using syncer::SyncData; |
27 using syncer::SyncDataList; | 27 using syncer::SyncDataList; |
28 using syncer::SyncError; | 28 using syncer::SyncError; |
29 using testing::AnyNumber; | 29 using testing::AnyNumber; |
30 using testing::DoAll; | 30 using testing::DoAll; |
31 using testing::ElementsAre; | 31 using testing::ElementsAre; |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 EXPECT_EQ("Great Peter", specifics.display_name()); | 700 EXPECT_EQ("Great Peter", specifics.display_name()); |
701 EXPECT_TRUE(specifics.has_avatar_url()); | 701 EXPECT_TRUE(specifics.has_avatar_url()); |
702 EXPECT_EQ("https://google.com/icon", specifics.avatar_url()); | 702 EXPECT_EQ("https://google.com/icon", specifics.avatar_url()); |
703 EXPECT_TRUE(specifics.has_federation_url()); | 703 EXPECT_TRUE(specifics.has_federation_url()); |
704 EXPECT_EQ("https://google.com", specifics.federation_url()); | 704 EXPECT_EQ("https://google.com", specifics.federation_url()); |
705 } | 705 } |
706 | 706 |
707 } // namespace | 707 } // namespace |
708 | 708 |
709 } // namespace password_manager | 709 } // namespace password_manager |
OLD | NEW |