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

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

Issue 2296483002: Fix some unit_tests under PlzNavigate (Closed)
Patch Set: not in public interface Created 4 years, 3 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/browser/frame_host/render_frame_host_manager.h ('k') | content/content_tests.gypi » ('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 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/render_frame_host_manager.h" 5 #include "content/browser/frame_host/render_frame_host_manager.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <tuple> 9 #include <tuple>
10 #include <utility> 10 #include <utility>
(...skipping 26 matching lines...) Expand all
37 #include "content/public/browser/render_process_host.h" 37 #include "content/public/browser/render_process_host.h"
38 #include "content/public/browser/render_widget_host_iterator.h" 38 #include "content/public/browser/render_widget_host_iterator.h"
39 #include "content/public/browser/web_contents_delegate.h" 39 #include "content/public/browser/web_contents_delegate.h"
40 #include "content/public/browser/web_contents_observer.h" 40 #include "content/public/browser/web_contents_observer.h"
41 #include "content/public/browser/web_ui_controller.h" 41 #include "content/public/browser/web_ui_controller.h"
42 #include "content/public/common/bindings_policy.h" 42 #include "content/public/common/bindings_policy.h"
43 #include "content/public/common/browser_side_navigation_policy.h" 43 #include "content/public/common/browser_side_navigation_policy.h"
44 #include "content/public/common/javascript_message_type.h" 44 #include "content/public/common/javascript_message_type.h"
45 #include "content/public/common/url_constants.h" 45 #include "content/public/common/url_constants.h"
46 #include "content/public/common/url_utils.h" 46 #include "content/public/common/url_utils.h"
47 #include "content/public/test/browser_side_navigation_test_utils.h"
47 #include "content/public/test/mock_render_process_host.h" 48 #include "content/public/test/mock_render_process_host.h"
48 #include "content/public/test/test_notification_tracker.h" 49 #include "content/public/test/test_notification_tracker.h"
49 #include "content/public/test/test_utils.h" 50 #include "content/public/test/test_utils.h"
50 #include "content/test/browser_side_navigation_test_utils.h"
51 #include "content/test/test_content_browser_client.h" 51 #include "content/test/test_content_browser_client.h"
52 #include "content/test/test_content_client.h" 52 #include "content/test/test_content_client.h"
53 #include "content/test/test_render_frame_host.h" 53 #include "content/test/test_render_frame_host.h"
54 #include "content/test/test_render_view_host.h" 54 #include "content/test/test_render_view_host.h"
55 #include "content/test/test_web_contents.h" 55 #include "content/test/test_web_contents.h"
56 #include "net/base/load_flags.h" 56 #include "net/base/load_flags.h"
57 #include "testing/gtest/include/gtest/gtest.h" 57 #include "testing/gtest/include/gtest/gtest.h"
58 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 58 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
59 #include "third_party/WebKit/public/web/WebSandboxFlags.h" 59 #include "third_party/WebKit/public/web/WebSandboxFlags.h"
60 #include "ui/base/page_transition_types.h" 60 #include "ui/base/page_transition_types.h"
(...skipping 3033 matching lines...) Expand 10 before | Expand all | Expand 10 after
3094 child_host->SendNavigateWithParams(&commit_params); 3094 child_host->SendNavigateWithParams(&commit_params);
3095 EXPECT_NO_FATAL_FAILURE(CheckInsecureRequestPolicyIPC( 3095 EXPECT_NO_FATAL_FAILURE(CheckInsecureRequestPolicyIPC(
3096 main_test_rfh(), blink::kLeaveInsecureRequestsAlone, 3096 main_test_rfh(), blink::kLeaveInsecureRequestsAlone,
3097 proxy_to_parent->GetRoutingID())); 3097 proxy_to_parent->GetRoutingID()));
3098 EXPECT_EQ( 3098 EXPECT_EQ(
3099 blink::kLeaveInsecureRequestsAlone, 3099 blink::kLeaveInsecureRequestsAlone,
3100 root->child_at(0)->current_replication_state().insecure_request_policy); 3100 root->child_at(0)->current_replication_state().insecure_request_policy);
3101 } 3101 }
3102 3102
3103 } // namespace content 3103 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager.h ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698