| OLD | NEW |
| 1 // Copyright (c) 2011 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 "chrome/common/web_apps.h" | 5 #include "chrome/common/web_apps.h" |
| 6 | 6 |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/json/json_value_serializer.h" | 9 #include "base/json/json_file_value_serializer.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "chrome/common/chrome_paths.h" | 14 #include "chrome/common/chrome_paths.h" |
| 15 #include "chrome/common/json_schema_validator.h" | 15 #include "chrome/common/json_schema_validator.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 ASSERT_EQ(data[i].width1, sizes[0].width()); | 182 ASSERT_EQ(data[i].width1, sizes[0].width()); |
| 183 ASSERT_EQ(data[i].height1, sizes[0].height()); | 183 ASSERT_EQ(data[i].height1, sizes[0].height()); |
| 184 } | 184 } |
| 185 if (sizes.size() > 1) { | 185 if (sizes.size() > 1) { |
| 186 ASSERT_EQ(data[i].width2, sizes[1].width()); | 186 ASSERT_EQ(data[i].width2, sizes[1].width()); |
| 187 ASSERT_EQ(data[i].height2, sizes[1].height()); | 187 ASSERT_EQ(data[i].height2, sizes[1].height()); |
| 188 } | 188 } |
| 189 } | 189 } |
| 190 } | 190 } |
| 191 } | 191 } |
| OLD | NEW |