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

Side by Side Diff: content/test/browser_test_utils_browsertest.cc

Issue 1544273002: Switch to standard integer types in content/. (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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/macros.h"
5 #include "content/public/browser/resource_request_details.h" 6 #include "content/public/browser/resource_request_details.h"
6 #include "content/public/test/browser_test_utils.h" 7 #include "content/public/test/browser_test_utils.h"
7 #include "content/public/test/content_browser_test.h" 8 #include "content/public/test/content_browser_test.h"
8 #include "content/public/test/content_browser_test_utils.h" 9 #include "content/public/test/content_browser_test_utils.h"
9 #include "content/shell/browser/shell.h" 10 #include "content/shell/browser/shell.h"
10 #include "net/dns/mock_host_resolver.h" 11 #include "net/dns/mock_host_resolver.h"
11 #include "net/test/embedded_test_server/embedded_test_server.h" 12 #include "net/test/embedded_test_server/embedded_test_server.h"
12 13
13 namespace content { 14 namespace content {
14 15
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 GURL::Replacements replace_host; 73 GURL::Replacements replace_host;
73 GURL expected_url(embedded_test_server()->GetURL("/title2.html")); 74 GURL expected_url(embedded_test_server()->GetURL("/title2.html"));
74 replace_host.SetHostStr("foo.com"); 75 replace_host.SetHostStr("foo.com");
75 expected_url = expected_url.ReplaceComponents(replace_host); 76 expected_url = expected_url.ReplaceComponents(replace_host);
76 77
77 EXPECT_EQ(expected_url, observer.navigation_url()); 78 EXPECT_EQ(expected_url, observer.navigation_url());
78 EXPECT_EQ(observer.redirect_url(), observer.navigation_url()); 79 EXPECT_EQ(observer.redirect_url(), observer.navigation_url());
79 } 80 }
80 81
81 } // namespace content 82 } // namespace content
OLDNEW
« no previous file with comments | « content/test/browser_side_navigation_test_utils.cc ('k') | content/test/content_browser_sanity_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698