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

Unified Diff: chrome/common/render_messages.h

Issue 187393005: Make it possible to read CLD data from a file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Marcus' and Jochen's comments Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index f569ff7c3d4293c8919fffde1d1968f1d8b0c743..d0db29d4cfee4190229efe74d6eb6de4d7ba3e70 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -410,6 +410,13 @@ IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent,
std::string /* tag_name */ )
#endif // defined(OS_ANDROID)
+// 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)
palmer 2014/03/13 17:59:50 Nit: Style is to put the variable name in a /* com
Andrew Hayden (chromium.org) 2014/03/13 23:20:21 Done. Sorry, I should have noticed that in this fi
+
// chrome.principals messages ------------------------------------------------
// Message sent from the renderer to the browser to get the list of browser
@@ -776,3 +783,10 @@ IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded,
base::string16 /* source */,
extensions::StackTrace /* stack trace */,
int32 /* severity level */)
+
+// 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)
+// See also: ChromeViewMsg_CLDDataAvailable
+IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData)

Powered by Google App Engine
This is Rietveld 408576698