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

Side by Side Diff: net/base/data_url_unittest.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/base/data_url.cc ('k') | net/base/elements_upload_data_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/basictypes.h"
6 #include "net/base/data_url.h" 5 #include "net/base/data_url.h"
7 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
8 #include "url/gurl.h" 7 #include "url/gurl.h"
9 8
10 namespace net { 9 namespace net {
11 10
12 namespace { 11 namespace {
13 12
14 struct ParseTestData { 13 struct ParseTestData {
15 const char* url; 14 const char* url;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 EXPECT_EQ(ok, tests[i].is_valid); 234 EXPECT_EQ(ok, tests[i].is_valid);
236 if (tests[i].is_valid) { 235 if (tests[i].is_valid) {
237 EXPECT_EQ(tests[i].mime_type, mime_type); 236 EXPECT_EQ(tests[i].mime_type, mime_type);
238 EXPECT_EQ(tests[i].charset, charset); 237 EXPECT_EQ(tests[i].charset, charset);
239 EXPECT_EQ(tests[i].data, data); 238 EXPECT_EQ(tests[i].data, data);
240 } 239 }
241 } 240 }
242 } 241 }
243 242
244 } // namespace net 243 } // namespace net
OLDNEW
« no previous file with comments | « net/base/data_url.cc ('k') | net/base/elements_upload_data_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698