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

Side by Side Diff: url/url_util_unittest.cc

Issue 1542703002: Switch to standard integer types in url/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « url/url_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stddef.h>
6
5 #include "base/macros.h" 7 #include "base/macros.h"
6 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
7 #include "url/third_party/mozilla/url_parse.h" 9 #include "url/third_party/mozilla/url_parse.h"
8 #include "url/url_canon.h" 10 #include "url/url_canon.h"
9 #include "url/url_canon_stdstring.h" 11 #include "url/url_canon_stdstring.h"
10 #include "url/url_test_utils.h" 12 #include "url/url_test_utils.h"
11 #include "url/url_util.h" 13 #include "url/url_util.h"
12 14
13 namespace url { 15 namespace url {
14 16
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 353
352 bool valid = ResolveRelative(base, strlen(base), 354 bool valid = ResolveRelative(base, strlen(base),
353 base_parsed, rel, 355 base_parsed, rel,
354 strlen(rel), NULL, &output, 356 strlen(rel), NULL, &output,
355 &resolved_parsed); 357 &resolved_parsed);
356 EXPECT_TRUE(valid); 358 EXPECT_TRUE(valid);
357 EXPECT_FALSE(resolved_parsed.ref.is_valid()); 359 EXPECT_FALSE(resolved_parsed.ref.is_valid());
358 } 360 }
359 361
360 } // namespace url 362 } // namespace url
OLDNEW
« no previous file with comments | « url/url_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698