OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 // | 28 // |
29 // WARNING: The result can be of any Value subclass type, but we can't easily | 29 // WARNING: The result can be of any Value subclass type, but we can't easily |
30 // pass indeterminate value types by const object reference with our IPC macros, | 30 // pass indeterminate value types by const object reference with our IPC macros, |
31 // so we put the result Value into a ListValue. Handlers should examine the | 31 // so we put the result Value into a ListValue. Handlers should examine the |
32 // first (and only) element of the ListValue for the actual result. | 32 // first (and only) element of the ListValue for the actual result. |
33 IPC_MESSAGE_CONTROL1(SafeJsonParserHostMsg_ParseJSON_Succeeded, base::ListValue) | 33 IPC_MESSAGE_CONTROL1(SafeJsonParserHostMsg_ParseJSON_Succeeded, base::ListValue) |
34 | 34 |
35 // Reply when the utility process failed in parsing a JSON string. | 35 // Reply when the utility process failed in parsing a JSON string. |
36 IPC_MESSAGE_CONTROL1(SafeJsonParserHostMsg_ParseJSON_Failed, | 36 IPC_MESSAGE_CONTROL1(SafeJsonParserHostMsg_ParseJSON_Failed, |
37 std::string /* error message, if any*/) | 37 std::string /* error message, if any*/) |
OLD | NEW |