| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/autofill/browser/autofill_ie_toolbar_import_win.h" | 5 #include "components/autofill/browser/autofill_ie_toolbar_import_win.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "base/win/registry.h" | 9 #include "base/win/registry.h" |
| 10 #include "components/autofill/browser/autofill_profile.h" | 10 #include "components/autofill/browser/autofill_profile.h" |
| 11 #include "components/autofill/browser/credit_card.h" | 11 #include "components/autofill/browser/credit_card.h" |
| 12 #include "components/autofill/browser/field_types.h" | 12 #include "components/autofill/browser/field_types.h" |
| 13 #include "sync/util/data_encryption_win.h" | 13 #include "sync/util/data_encryption_win.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| 16 using base::win::RegKey; | 16 using base::win::RegKey; |
| 17 | 17 |
| 18 namespace autofill { | 18 namespace autofill { |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 profiles.clear(); | 199 profiles.clear(); |
| 200 credit_cards.clear(); | 200 credit_cards.clear(); |
| 201 EXPECT_TRUE(ImportCurrentUserProfiles("en-US", &profiles, &credit_cards)); | 201 EXPECT_TRUE(ImportCurrentUserProfiles("en-US", &profiles, &credit_cards)); |
| 202 // Profiles are not protected. | 202 // Profiles are not protected. |
| 203 EXPECT_EQ(2U, profiles.size()); | 203 EXPECT_EQ(2U, profiles.size()); |
| 204 // Credit cards are. | 204 // Credit cards are. |
| 205 EXPECT_EQ(0U, credit_cards.size()); | 205 EXPECT_EQ(0U, credit_cards.size()); |
| 206 } | 206 } |
| 207 | 207 |
| 208 } // namespace autofill | 208 } // namespace autofill |
| OLD | NEW |