Chromium Code Reviews| Index: chrome/common/render_messages.h |
| diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h |
| index 2967cfa78f6b132cdd5ee14ef41b718f7be099e3..83f0954e014f215665d7cc16926d4843eab59156 100644 |
| --- a/chrome/common/render_messages.h |
| +++ b/chrome/common/render_messages.h |
| @@ -404,6 +404,15 @@ IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent, |
| std::string /* tag_name */ ) |
| #endif // defined(OS_ANDROID) |
| +#if defined(CLD2_DYNAMIC_MODE) |
| +// Informs the renderer process that Compact Language Detector (CLD) data is |
| +// available and provides an IPC::PlatformFileForTransit obtained from |
| +// IPC::GetFileHandleForProcess(...) |
| +// See also: ChromeViewHostMsg_NeedCLDData |
| +IPC_MESSAGE_ROUTED1(ChromeViewMsg_CLDDataAvailable, |
| + IPC::PlatformFileForTransit /* ipc_file_handle */) |
| +#endif |
| + |
| // chrome.principals messages ------------------------------------------------ |
| // Message sent from the renderer to the browser to get the list of browser |
| @@ -781,3 +790,12 @@ IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
| // Sent by the renderer to check if crash reporting is enabled. |
| IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
| bool /* enabled */) |
| + |
| +#if defined(CLD2_DYNAMIC_MODE) |
| +// Informs the browser process that Compact Language Detector (CLD) data is |
| +// required by the originating renderer. The browser process should respond |
| +// with a ChromeViewMsg_CLDDataAvailable if the data is available, else it |
| +// should go unanswered (the renderer will ask again later) |
|
palmer
2014/03/24 19:01:47
Nit: Puncutation.
Andrew Hayden (chromium.org)
2014/03/26 15:34:11
Done.
|
| +// See also: ChromeViewMsg_CLDDataAvailable |
| +IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData) |
| +#endif |