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

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

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Update new uses post-rebase Created 3 years, 4 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/feature_list.h" 7 #include "base/feature_list.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 TestRenderFrameHost* subframe_rfh = 1305 TestRenderFrameHost* subframe_rfh =
1306 contents()->GetMainFrame()->AppendChild("child"); 1306 contents()->GetMainFrame()->AppendChild("child");
1307 // Simulate the navigation triggered by inserting a child frame into a page. 1307 // Simulate the navigation triggered by inserting a child frame into a page.
1308 FrameHostMsg_DidCommitProvisionalLoad_Params params; 1308 FrameHostMsg_DidCommitProvisionalLoad_Params params;
1309 InitNavigateParams(&params, 1, false, kUrl2, 1309 InitNavigateParams(&params, 1, false, kUrl2,
1310 ui::PAGE_TRANSITION_AUTO_SUBFRAME); 1310 ui::PAGE_TRANSITION_AUTO_SUBFRAME);
1311 subframe_rfh->SendNavigateWithParams(&params); 1311 subframe_rfh->SendNavigateWithParams(&params);
1312 1312
1313 FeaturePolicy* subframe_feature_policy = subframe_rfh->feature_policy(); 1313 FeaturePolicy* subframe_feature_policy = subframe_rfh->feature_policy();
1314 ASSERT_TRUE(subframe_feature_policy); 1314 ASSERT_TRUE(subframe_feature_policy);
1315 ASSERT_FALSE(subframe_feature_policy->origin_.unique()); 1315 ASSERT_FALSE(subframe_feature_policy->origin_.opaque());
1316 } 1316 }
1317 1317
1318 } // namespace content 1318 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698