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

Unified Diff: content/browser/frame_host/frame_tree_unittest.cc

Issue 837283003: Start replicating sandbox flags for OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Nasko's nit Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/frame_host/frame_tree_node.h ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/frame_tree_unittest.cc
diff --git a/content/browser/frame_host/frame_tree_unittest.cc b/content/browser/frame_host/frame_tree_unittest.cc
index a22c8a9797c399ce0fffaed1f4d0384c5f034ddc..5f3245917a1c48dd565d0807e3eac771a4579b60 100644
--- a/content/browser/frame_host/frame_tree_unittest.cc
+++ b/content/browser/frame_host/frame_tree_unittest.cc
@@ -208,9 +208,9 @@ TEST_F(FrameTreeTest, ObserverWalksTreeDuringFrameCreation) {
EXPECT_EQ("", activity.GetLog());
// Simulate attaching a series of frames to build the frame tree.
- main_test_rfh()->OnCreateChildFrame(14, std::string());
+ main_test_rfh()->OnCreateChildFrame(14, std::string(), SandboxFlags::NONE);
EXPECT_EQ("RenderFrameCreated(14) -> 1: [14: []]", activity.GetLog());
- main_test_rfh()->OnCreateChildFrame(18, std::string());
+ main_test_rfh()->OnCreateChildFrame(18, std::string(), SandboxFlags::NONE);
EXPECT_EQ("RenderFrameCreated(18) -> 1: [14: [], 18: []]", activity.GetLog());
frame_tree->RemoveFrame(root->child_at(0));
EXPECT_EQ("RenderFrameDeleted(14) -> 1: [18: []]", activity.GetLog());
@@ -223,9 +223,9 @@ TEST_F(FrameTreeTest, ObserverWalksTreeDuringFrameCreation) {
TEST_F(FrameTreeTest, ObserverWalksTreeAfterCrash) {
TreeWalkingWebContentsLogger activity(contents());
- main_test_rfh()->OnCreateChildFrame(22, std::string());
+ main_test_rfh()->OnCreateChildFrame(22, std::string(), SandboxFlags::NONE);
EXPECT_EQ("RenderFrameCreated(22) -> 1: [22: []]", activity.GetLog());
- main_test_rfh()->OnCreateChildFrame(23, std::string());
+ main_test_rfh()->OnCreateChildFrame(23, std::string(), SandboxFlags::NONE);
EXPECT_EQ("RenderFrameCreated(23) -> 1: [22: [], 23: []]", activity.GetLog());
// Crash the renderer
« no previous file with comments | « content/browser/frame_host/frame_tree_node.h ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698