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

Side by Side Diff: content/browser/web_contents/web_contents_impl_unittest.cc

Issue 2400673003: Remove SSLStatus::security_style member and content::SecurityStyle (Closed)
Patch Set: more curly braces Created 4 years, 2 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/web_contents/web_contents_impl.cc ('k') | content/child/web_url_loader_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include <utility> 6 #include <utility>
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/browser/frame_host/interstitial_page_impl.h" 13 #include "content/browser/frame_host/interstitial_page_impl.h"
14 #include "content/browser/frame_host/navigation_entry_impl.h" 14 #include "content/browser/frame_host/navigation_entry_impl.h"
15 #include "content/browser/frame_host/render_frame_host_impl.h" 15 #include "content/browser/frame_host/render_frame_host_impl.h"
16 #include "content/browser/frame_host/render_frame_proxy_host.h" 16 #include "content/browser/frame_host/render_frame_proxy_host.h"
17 #include "content/browser/media/audio_stream_monitor.h" 17 #include "content/browser/media/audio_stream_monitor.h"
18 #include "content/browser/media/media_web_contents_observer.h" 18 #include "content/browser/media/media_web_contents_observer.h"
19 #include "content/browser/renderer_host/render_view_host_impl.h" 19 #include "content/browser/renderer_host/render_view_host_impl.h"
20 #include "content/browser/site_instance_impl.h" 20 #include "content/browser/site_instance_impl.h"
21 #include "content/browser/webui/content_web_ui_controller_factory.h" 21 #include "content/browser/webui/content_web_ui_controller_factory.h"
22 #include "content/browser/webui/web_ui_controller_factory_registry.h" 22 #include "content/browser/webui/web_ui_controller_factory_registry.h"
23 #include "content/common/frame_messages.h" 23 #include "content/common/frame_messages.h"
24 #include "content/common/input/synthetic_web_input_event_builders.h" 24 #include "content/common/input/synthetic_web_input_event_builders.h"
25 #include "content/common/media/media_player_delegate_messages.h" 25 #include "content/common/media/media_player_delegate_messages.h"
26 #include "content/common/security_style_util.h"
27 #include "content/common/site_isolation_policy.h" 26 #include "content/common/site_isolation_policy.h"
28 #include "content/common/view_messages.h" 27 #include "content/common/view_messages.h"
29 #include "content/public/browser/content_browser_client.h" 28 #include "content/public/browser/content_browser_client.h"
30 #include "content/public/browser/global_request_id.h" 29 #include "content/public/browser/global_request_id.h"
31 #include "content/public/browser/interstitial_page_delegate.h" 30 #include "content/public/browser/interstitial_page_delegate.h"
32 #include "content/public/browser/javascript_dialog_manager.h" 31 #include "content/public/browser/javascript_dialog_manager.h"
33 #include "content/public/browser/navigation_details.h" 32 #include "content/public/browser/navigation_details.h"
34 #include "content/public/browser/notification_details.h" 33 #include "content/public/browser/notification_details.h"
35 #include "content/public/browser/notification_source.h" 34 #include "content/public/browser/notification_source.h"
36 #include "content/public/browser/render_widget_host_view.h" 35 #include "content/public/browser/render_widget_host_view.h"
(...skipping 3414 matching lines...) Expand 10 before | Expand all | Expand 10 after
3451 // An automatic navigation. 3450 // An automatic navigation.
3452 main_test_rfh()->SendNavigateWithModificationCallback( 3451 main_test_rfh()->SendNavigateWithModificationCallback(
3453 2, 0, true, GURL(url::kAboutBlankURL), base::Bind(SetAsNonUserGesture)); 3452 2, 0, true, GURL(url::kAboutBlankURL), base::Bind(SetAsNonUserGesture));
3454 3453
3455 EXPECT_EQ(1u, dialog_manager.reset_count()); 3454 EXPECT_EQ(1u, dialog_manager.reset_count());
3456 3455
3457 contents()->SetJavaScriptDialogManagerForTesting(nullptr); 3456 contents()->SetJavaScriptDialogManagerForTesting(nullptr);
3458 } 3457 }
3459 3458
3460 } // namespace content 3459 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698