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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // be treated as a webapp. 403 // be treated as a webapp.
404 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, 404 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation,
405 GURL /* expected_url */) 405 GURL /* expected_url */)
406 406
407 // Asks the renderer to return information about the given meta tag. 407 // Asks the renderer to return information about the given meta tag.
408 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent, 408 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent,
409 GURL /* expected_url */, 409 GURL /* expected_url */,
410 std::string /* tag_name */ ) 410 std::string /* tag_name */ )
411 #endif // defined(OS_ANDROID) 411 #endif // defined(OS_ANDROID)
412 412
413 // Informs the renderer process that Compact Language Detector (CLD) data is
414 // available and provides an IPC::PlatformFileForTransit obtained from
415 // IPC::GetFileHandleForProcess(...)
416 // See also: ChromeViewHostMsg_NeedCLDData
417 IPC_MESSAGE_ROUTED1(ChromeViewMsg_CLDDataAvailable,
418 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
419
413 // chrome.principals messages ------------------------------------------------ 420 // chrome.principals messages ------------------------------------------------
414 421
415 // Message sent from the renderer to the browser to get the list of browser 422 // Message sent from the renderer to the browser to get the list of browser
416 // managed accounts for the given origin. 423 // managed accounts for the given origin.
417 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, 424 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts,
418 GURL /* current URL */, 425 GURL /* current URL */,
419 std::vector<std::string> /* managed accounts */) 426 std::vector<std::string> /* managed accounts */)
420 427
421 // Message sent from the renderer to the browser to show the browser account 428 // Message sent from the renderer to the browser to show the browser account
422 // management UI. 429 // management UI.
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 std::vector<GURL> /* search_urls */, 776 std::vector<GURL> /* search_urls */,
770 GURL /* new_tab_page_url */) 777 GURL /* new_tab_page_url */)
771 778
772 // Tells listeners that a detailed message was reported to the console by 779 // Tells listeners that a detailed message was reported to the console by
773 // WebKit. 780 // WebKit.
774 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, 781 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded,
775 base::string16 /* message */, 782 base::string16 /* message */,
776 base::string16 /* source */, 783 base::string16 /* source */,
777 extensions::StackTrace /* stack trace */, 784 extensions::StackTrace /* stack trace */,
778 int32 /* severity level */) 785 int32 /* severity level */)
786
787 // Informs the browser process that Compact Language Detector (CLD) data is
788 // required by the originating renderer. The browser process should respond
789 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it
790 // should go unanswered (the renderer will ask again later)
791 // See also: ChromeViewMsg_CLDDataAvailable
792 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698