OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/stl_util-inl.h" | 7 #include "base/stl_util-inl.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "chrome/browser/search_engines/template_url.h" | 11 #include "chrome/browser/search_engines/template_url.h" |
12 #include "chrome/browser/webdata/web_database.h" | 12 #include "chrome/browser/webdata/web_database.h" |
13 #include "chrome/common/chrome_paths.h" | 13 #include "chrome/common/chrome_paths.h" |
14 #include "skia/include/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "webkit/glue/autofill_form.h" | 16 #include "webkit/glue/autofill_form.h" |
17 #include "webkit/glue/password_form.h" | 17 #include "webkit/glue/password_form.h" |
18 | 18 |
19 using base::Time; | 19 using base::Time; |
20 using base::TimeDelta; | 20 using base::TimeDelta; |
21 | 21 |
22 class WebDatabaseTest : public testing::Test { | 22 class WebDatabaseTest : public testing::Test { |
23 protected: | 23 protected: |
24 | 24 |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 ASSERT_EQ(16, images[0].height()); | 669 ASSERT_EQ(16, images[0].height()); |
670 ASSERT_EQ(32, images[1].width()); | 670 ASSERT_EQ(32, images[1].width()); |
671 ASSERT_EQ(32, images[1].height()); | 671 ASSERT_EQ(32, images[1].height()); |
672 } else { | 672 } else { |
673 ASSERT_EQ(32, images[0].width()); | 673 ASSERT_EQ(32, images[0].width()); |
674 ASSERT_EQ(32, images[0].height()); | 674 ASSERT_EQ(32, images[0].height()); |
675 ASSERT_EQ(16, images[1].width()); | 675 ASSERT_EQ(16, images[1].width()); |
676 ASSERT_EQ(16, images[1].height()); | 676 ASSERT_EQ(16, images[1].height()); |
677 } | 677 } |
678 } | 678 } |
OLD | NEW |