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

Side by Side Diff: content/renderer/history_controller_browsertest.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (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 | « content/renderer/history_controller.h ('k') | content/renderer/history_serialization.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "build/build_config.h"
5 #include "content/common/site_isolation_policy.h" 6 #include "content/common/site_isolation_policy.h"
6 #include "content/public/test/render_view_test.h" 7 #include "content/public/test/render_view_test.h"
7 #include "content/renderer/history_controller.h" 8 #include "content/renderer/history_controller.h"
8 #include "content/renderer/render_frame_impl.h" 9 #include "content/renderer/render_frame_impl.h"
9 #include "content/renderer/render_view_impl.h" 10 #include "content/renderer/render_view_impl.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/WebKit/public/web/WebHistoryItem.h" 12 #include "third_party/WebKit/public/web/WebHistoryItem.h"
12 13
13 namespace content { 14 namespace content {
14 15
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 blink::WebHistoryInertCommit, true); 57 blink::WebHistoryInertCommit, true);
57 EXPECT_EQ(1ul, entry->root_history_node()->children().size()); 58 EXPECT_EQ(1ul, entry->root_history_node()->children().size());
58 59
59 // Clear children for cross-page navigations. 60 // Clear children for cross-page navigations.
60 history_controller()->UpdateForCommit(main_frame, item, 61 history_controller()->UpdateForCommit(main_frame, item,
61 blink::WebHistoryInertCommit, false); 62 blink::WebHistoryInertCommit, false);
62 EXPECT_EQ(0ul, entry->root_history_node()->children().size()); 63 EXPECT_EQ(0ul, entry->root_history_node()->children().size());
63 } 64 }
64 65
65 } // namespace 66 } // namespace
OLDNEW
« no previous file with comments | « content/renderer/history_controller.h ('k') | content/renderer/history_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698