ChromeMsgStart is now gone upstream and we really don't care much about which starter is used as long as we don't have to patch Chromium. Chromium change: https://chromium.googlesource.com/chromium/src.git/+/5645a61daa85f327d6301935a40142ceea60c23b commit 5645a61daa85f327d6301935a40142ceea60c23b Author: Julie Jeongeun Kim <jkim@igalia.com> Date: Wed Jan 27 11:16:13 2021 +0000 [printing] Clean up files related to legacy IPCs This CL cleans up print_messages.{cc,h} and following files since printing IPC messages have been fully converted to mojo interfaces. - components/printing/common/print_messages.cc - components/printing/common/print_messages.h - components/printing/common/printing_param_traits.cc - components/printing/common/printing_param_traits.h - components/printing/common/printing_param_traits_macros.h - components/printing/common/printing_param_traits_unittest.cc Bug: 1008939
24 lines
969 B
C
24 lines
969 B
C
// NOLINT(build/header_guard)
|
|
/* Copyright 2019 The Brave Authors. All rights reserved.
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
// Multiply-included file, no traditional include guard.
|
|
|
|
#include "base/strings/string16.h"
|
|
#include "ipc/ipc_message_macros.h"
|
|
|
|
// The message starter should be declared in ipc/ipc_message_start.h. Since
|
|
// we don't want to patch Chromium, we just pretend to be a frame.
|
|
|
|
#define IPC_MESSAGE_START FrameMsgStart
|
|
|
|
// Tells the browser that content in the current page was blocked due to the
|
|
// user's content settings.
|
|
IPC_MESSAGE_ROUTED1(BraveViewHostMsg_JavaScriptBlocked,
|
|
base::string16 /* details on blocked content */)
|
|
|
|
IPC_MESSAGE_ROUTED1(BraveViewHostMsg_FingerprintingBlocked,
|
|
base::string16 /* details on blocked content */)
|