OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "app/sql/statement.h" | 7 #include "app/sql/statement.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/memory/scoped_temp_dir.h" | 9 #include "base/scoped_temp_dir.h" |
10 #include "base/stl_util-inl.h" | 10 #include "base/stl_util-inl.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "base/string_number_conversions.h" | 12 #include "base/string_number_conversions.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "chrome/browser/autofill/autofill_profile.h" | 16 #include "chrome/browser/autofill/autofill_profile.h" |
17 #include "chrome/browser/autofill/autofill_type.h" | 17 #include "chrome/browser/autofill/autofill_type.h" |
18 #include "chrome/browser/autofill/credit_card.h" | 18 #include "chrome/browser/autofill/credit_card.h" |
19 #include "chrome/browser/webdata/autofill_change.h" | 19 #include "chrome/browser/webdata/autofill_change.h" |
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1417 ASSERT_TRUE(s2.Step()); | 1417 ASSERT_TRUE(s2.Step()); |
1418 EXPECT_EQ("00000000-0000-0000-0000-000000000005", s2.ColumnString(0)); | 1418 EXPECT_EQ("00000000-0000-0000-0000-000000000005", s2.ColumnString(0)); |
1419 | 1419 |
1420 ASSERT_TRUE(s2.Step()); | 1420 ASSERT_TRUE(s2.Step()); |
1421 EXPECT_EQ("00000000-0000-0000-0000-000000000006", s2.ColumnString(0)); | 1421 EXPECT_EQ("00000000-0000-0000-0000-000000000006", s2.ColumnString(0)); |
1422 | 1422 |
1423 // That should be it. | 1423 // That should be it. |
1424 ASSERT_FALSE(s2.Step()); | 1424 ASSERT_FALSE(s2.Step()); |
1425 } | 1425 } |
1426 } | 1426 } |
OLD | NEW |