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

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

Issue 1323143008: Remove CONTENT_SETTINGS_NUM_TYPES (part 5) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-num-types-enum-2
Patch Set: Created 5 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
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 "content/public/common/common_param_traits.h" 8 #include "content/public/common/common_param_traits.h"
9 #include "content/public/common/common_param_traits_macros.h" 9 #include "content/public/common/common_param_traits_macros.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 #define IPC_MESSAGE_START ContentSettingsMsgStart 13 #define IPC_MESSAGE_START ContentSettingsMsgStart
14 14
15 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType, CONTENT_SETTINGS_NUM_TYPES - 1) 15 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType,
16 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1)
16 17
17 //----------------------------------------------------------------------------- 18 //-----------------------------------------------------------------------------
18 // These are messages sent from the browser to the renderer process. 19 // These are messages sent from the browser to the renderer process.
19 20
20 // Sent in response to FrameHostMsg_DidBlockDisplayingInsecureContent. 21 // Sent in response to FrameHostMsg_DidBlockDisplayingInsecureContent.
21 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent, 22 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowDisplayingInsecureContent,
22 bool /* allowed */) 23 bool /* allowed */)
23 24
24 // Sent in response to FrameHostMsg_DidBlockRunningInsecureContent. 25 // Sent in response to FrameHostMsg_DidBlockRunningInsecureContent.
25 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, 26 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, 86 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB,
86 int /* render_frame_id */, 87 int /* render_frame_id */,
87 GURL /* origin_url */, 88 GURL /* origin_url */,
88 GURL /* top origin url */, 89 GURL /* top origin url */,
89 base::string16 /* database name */, 90 base::string16 /* database name */,
90 bool /* allowed */) 91 bool /* allowed */)
91 92
92 // Sent when the renderer was prevented from displaying insecure content in 93 // Sent when the renderer was prevented from displaying insecure content in
93 // a secure page by a security policy. The page may appear incomplete. 94 // a secure page by a security policy. The page may appear incomplete.
94 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) 95 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698