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

Side by Side Diff: content/browser/frame_host/frame_tree_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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 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 "content/browser/frame_host/frame_tree.h" 5 #include "content/browser/frame_host/frame_tree.h"
6 6
7 #include <stddef.h>
8
9 #include "base/macros.h"
7 #include "base/run_loop.h" 10 #include "base/run_loop.h"
8 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
9 #include "content/browser/frame_host/navigator_impl.h" 12 #include "content/browser/frame_host/navigator_impl.h"
10 #include "content/browser/frame_host/render_frame_host_factory.h" 13 #include "content/browser/frame_host/render_frame_host_factory.h"
11 #include "content/browser/frame_host/render_frame_host_impl.h" 14 #include "content/browser/frame_host/render_frame_host_impl.h"
12 #include "content/browser/renderer_host/render_view_host_impl.h" 15 #include "content/browser/renderer_host/render_view_host_impl.h"
13 #include "content/browser/web_contents/web_contents_impl.h" 16 #include "content/browser/web_contents/web_contents_impl.h"
14 #include "content/common/frame_messages.h" 17 #include "content/common/frame_messages.h"
15 #include "content/public/browser/web_contents_observer.h" 18 #include "content/public/browser/web_contents_observer.h"
16 #include "content/public/test/mock_render_process_host.h" 19 #include "content/public/test/mock_render_process_host.h"
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // Crash the renderer. 456 // Crash the renderer.
454 main_test_rfh()->GetProcess()->SimulateCrash(); 457 main_test_rfh()->GetProcess()->SimulateCrash();
455 458
456 // Ensure they cannot be found by id after the process has crashed. 459 // Ensure they cannot be found by id after the process has crashed.
457 EXPECT_FALSE(FrameTreeNode::GloballyFindByID(id1)); 460 EXPECT_FALSE(FrameTreeNode::GloballyFindByID(id1));
458 EXPECT_FALSE(FrameTreeNode::GloballyFindByID(id2)); 461 EXPECT_FALSE(FrameTreeNode::GloballyFindByID(id2));
459 EXPECT_FALSE(FrameTreeNode::GloballyFindByID(id3)); 462 EXPECT_FALSE(FrameTreeNode::GloballyFindByID(id3));
460 } 463 }
461 464
462 } // namespace content 465 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_tree_node.cc ('k') | content/browser/frame_host/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698