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

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' 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 // be treated as a webapp. 397 // be treated as a webapp.
398 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, 398 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation,
399 GURL /* expected_url */) 399 GURL /* expected_url */)
400 400
401 // Asks the renderer to return information about the given meta tag. 401 // Asks the renderer to return information about the given meta tag.
402 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent, 402 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent,
403 GURL /* expected_url */, 403 GURL /* expected_url */,
404 std::string /* tag_name */ ) 404 std::string /* tag_name */ )
405 #endif // defined(OS_ANDROID) 405 #endif // defined(OS_ANDROID)
406 406
407 #if defined(CLD2_DYNAMIC_MODE)
408 // Informs the renderer process that Compact Language Detector (CLD) data is
409 // available and provides an IPC::PlatformFileForTransit obtained from
410 // IPC::GetFileHandleForProcess(...)
411 // See also: ChromeViewHostMsg_NeedCLDData
412 IPC_MESSAGE_ROUTED1(ChromeViewMsg_CLDDataAvailable,
413 IPC::PlatformFileForTransit /* ipc_file_handle */)
414 #endif
415
407 // chrome.principals messages ------------------------------------------------ 416 // chrome.principals messages ------------------------------------------------
408 417
409 // Message sent from the renderer to the browser to get the list of browser 418 // Message sent from the renderer to the browser to get the list of browser
410 // managed accounts for the given origin. 419 // managed accounts for the given origin.
411 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, 420 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts,
412 GURL /* current URL */, 421 GURL /* current URL */,
413 std::vector<std::string> /* managed accounts */) 422 std::vector<std::string> /* managed accounts */)
414 423
415 // Message sent from the renderer to the browser to show the browser account 424 // Message sent from the renderer to the browser to show the browser account
416 // management UI. 425 // management UI.
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 // WebKit. 783 // WebKit.
775 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, 784 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded,
776 base::string16 /* message */, 785 base::string16 /* message */,
777 base::string16 /* source */, 786 base::string16 /* source */,
778 extensions::StackTrace /* stack trace */, 787 extensions::StackTrace /* stack trace */,
779 int32 /* severity level */) 788 int32 /* severity level */)
780 789
781 // Sent by the renderer to check if crash reporting is enabled. 790 // Sent by the renderer to check if crash reporting is enabled.
782 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 791 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
783 bool /* enabled */) 792 bool /* enabled */)
793
794 #if defined(CLD2_DYNAMIC_MODE)
795 // Informs the browser process that Compact Language Detector (CLD) data is
796 // required by the originating renderer. The browser process should respond
797 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it
798 // 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.
799 // See also: ChromeViewMsg_CLDDataAvailable
800 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData)
801 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698