Chromium Code Reviews| Index: components/safe_json/safe_json_parser_messages.h |
| diff --git a/components/safe_json/safe_json_parser_messages.h b/components/safe_json/safe_json_parser_messages.h |
| deleted file mode 100644 |
| index 6b405c7a51262d91c7a6c86c8dad67cf8df2b2ba..0000000000000000000000000000000000000000 |
| --- a/components/safe_json/safe_json_parser_messages.h |
| +++ /dev/null |
| @@ -1,35 +0,0 @@ |
| -// Copyright 2015 The Chromium Authors. All rights reserved. |
| -// Use of this source code is governed by a BSD-style license that can be |
| -// found in the LICENSE file. |
| - |
| -// Message definition file, included multiple times, hence no include guard. |
| - |
| -#include <string> |
| -#include <vector> |
| - |
| -#include "base/strings/string16.h" |
| -#include "ipc/ipc_message_macros.h" |
| -#include "ipc/ipc_message_utils.h" |
| - |
| -#define IPC_MESSAGE_START SafeJsonParserMsgStart |
|
Tom Sepez
2016/05/02 15:51:53
We can remove SafeJsonParserMsgStart definition fr
Anand Mistry (off Chromium)
2016/05/03 02:30:22
Yes. Yes we can.
|
| - |
| -//------------------------------------------------------------------------------ |
| -// Process messages: |
| -// This is a message from the browser to the utility process telling it to parse |
| -// a JSON string into a Value object. |
| -IPC_MESSAGE_CONTROL1(SafeJsonParserMsg_ParseJSON, |
| - std::string /* JSON to parse */) |
| - |
| -//------------------------------------------------------------------------------ |
| -// Host messages: Reply when the utility process successfully parsed a JSON |
| -// string. |
| -// |
| -// WARNING: The result can be of any Value subclass type, but we can't easily |
| -// pass indeterminate value types by const object reference with our IPC macros, |
| -// so we put the result Value into a ListValue. Handlers should examine the |
| -// first (and only) element of the ListValue for the actual result. |
| -IPC_MESSAGE_CONTROL1(SafeJsonParserHostMsg_ParseJSON_Succeeded, base::ListValue) |
| - |
| -// Reply when the utility process failed in parsing a JSON string. |
| -IPC_MESSAGE_CONTROL1(SafeJsonParserHostMsg_ParseJSON_Failed, |
| - std::string /* error message, if any*/) |