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

Side by Side Diff: components/subresource_filter/content/common/subresource_filter_messages.h

Issue 2022783002: Skeleton of the Safe Browsing Subresource Filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement RenderFrameObserver::OnDestruct introduced by rebase. Created 4 years, 6 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Message definition file, included multiple times, hence no include guard.
6
7 #include "components/subresource_filter/core/common/activation_state.h"
8 #include "content/public/common/common_param_traits_macros.h"
9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_message.h"
11
12 #define IPC_MESSAGE_START SubresourceFilterMsgStart
13
14 IPC_ENUM_TRAITS_MAX_VALUE(subresource_filter::ActivationState,
15 subresource_filter::ActivationState::LAST);
16
17 // ----------------------------------------------------------------------------
18 // Messages sent from the browser to the renderer.
19 // ----------------------------------------------------------------------------
20
21 // Instructs the renderer to activate subresource filtering for the currently
22 // ongoing provisional document load in a frame. The message must arrive after
23 // the provisional load starts, but before it is committed on the renderer side.
24 // If no message arrives, the default behavior is ActivationState::DISABLED.
25 IPC_MESSAGE_ROUTED1(SubresourceFilterAgentMsg_ActivateForProvisionalLoad,
26 subresource_filter::ActivationState);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698