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

Side by Side Diff: components/content_settings/content/common/content_settings_messages.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Overall code cleanup to request reviewers to PTAL. Created 4 years, 5 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include "base/strings/string16.h" 6 #include "base/strings/string16.h"
7 #include "components/content_settings/core/common/content_settings_types.h" 7 #include "components/content_settings/core/common/content_settings_types.h"
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 #include "url/ipc/url_param_traits.h" 10 #include "url/ipc/url_param_traits.h"
11 11
12 #define IPC_MESSAGE_START ContentSettingsMsgStart 12 #define IPC_MESSAGE_START ContentSettingsMsgStart
13 13
14 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType, 14 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType,
15 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1) 15 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1)
16 16
17 //----------------------------------------------------------------------------- 17 //-----------------------------------------------------------------------------
18 // These are messages sent from the browser to the renderer process. 18 // These are messages sent from the browser to the renderer process.
19 19
20 // Sent in response to FrameHostMsg_DidBlockDisplayingInsecureContent. 20 // Sent to allow or forbid the displaying of insecure mixed-content.
carlosk 2016/07/18 14:37:13 I edited these messages because the previously ref
21 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, 21 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent,
22 bool /* allowed */) 22 bool /* allowed */)
23 23
24 // Sent in response to FrameHostMsg_DidBlockRunningInsecureContent. 24 // Sent to allow or forbid the running of insecure mixed-content.
25 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, 25 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent,
26 bool /* allowed */) 26 bool /* allowed */)
27 27
28 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame) 28 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame)
29 29
30 // Tells the renderer whether or not a file system access has been allowed. 30 // Tells the renderer whether or not a file system access has been allowed.
31 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccessAsyncResponse, 31 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccessAsyncResponse,
32 int /* request_id */, 32 int /* request_id */,
33 bool /* allowed */) 33 bool /* allowed */)
34 34
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, 87 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB,
88 int /* render_frame_id */, 88 int /* render_frame_id */,
89 GURL /* origin_url */, 89 GURL /* origin_url */,
90 GURL /* top origin url */, 90 GURL /* top origin url */,
91 base::string16 /* database name */, 91 base::string16 /* database name */,
92 bool /* allowed */) 92 bool /* allowed */)
93 93
94 // Sent when the renderer was prevented from displaying insecure content in 94 // Sent when the renderer was prevented from displaying insecure content in
95 // a secure page by a security policy. The page may appear incomplete. 95 // a secure page by a security policy. The page may appear incomplete.
96 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) 96 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698