Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: chrome/common/web_apps_unittest.cc

Issue 9465030: Break two classes defined in json_value_serializer.cc, .h into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/common/jstemplate_builder.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698