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

Side by Side Diff: ios/web/history_state_util_unittest.mm

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ios/web/browser_url_rewriter_impl.h ('k') | ios/web/navigation/crw_session_controller.mm » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #import "ios/web/history_state_util.h" 5 #import "ios/web/history_state_util.h"
6 6
7 #include <stddef.h>
8
9 #include "base/macros.h"
7 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
8 #include "testing/gtest_mac.h" 11 #include "testing/gtest_mac.h"
9 #include "url/gurl.h" 12 #include "url/gurl.h"
10 13
11 namespace web { 14 namespace web {
12 namespace { 15 namespace {
13 struct TestEntry { 16 struct TestEntry {
14 std::string fromUrl; 17 std::string fromUrl;
15 std::string toUrl; 18 std::string toUrl;
16 std::string expectedUrl; 19 std::string expectedUrl;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 GURL baseUrl("http://not a url"); 101 GURL baseUrl("http://not a url");
99 std::string destination = "baz"; 102 std::string destination = "baz";
100 103
101 GURL result = history_state_util::GetHistoryStateChangeUrl(fromUrl, baseUrl, 104 GURL result = history_state_util::GetHistoryStateChangeUrl(fromUrl, baseUrl,
102 destination); 105 destination);
103 EXPECT_FALSE(result.is_valid()); 106 EXPECT_FALSE(result.is_valid());
104 } 107 }
105 108
106 } // anonymous namespace 109 } // anonymous namespace
107 } // namespace web 110 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/browser_url_rewriter_impl.h ('k') | ios/web/navigation/crw_session_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698