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

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: Final rebase 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
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h>
6 #include <map> 7 #include <map>
7 #include <set> 8 #include <set>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/basictypes.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
14 #include "base/process/process.h" 14 #include "base/process/process.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "chrome/common/autocomplete_match_type.h" 19 #include "chrome/common/autocomplete_match_type.h"
20 #include "chrome/common/common_param_traits.h" 20 #include "chrome/common/common_param_traits.h"
21 #include "chrome/common/content_settings.h" 21 #include "chrome/common/content_settings.h"
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 // be treated as a webapp. 394 // be treated as a webapp.
395 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, 395 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation,
396 GURL /* expected_url */) 396 GURL /* expected_url */)
397 397
398 // Asks the renderer to return information about the given meta tag. 398 // Asks the renderer to return information about the given meta tag.
399 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent, 399 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent,
400 GURL /* expected_url */, 400 GURL /* expected_url */,
401 std::string /* tag_name */ ) 401 std::string /* tag_name */ )
402 #endif // defined(OS_ANDROID) 402 #endif // defined(OS_ANDROID)
403 403
404 #if defined(CLD2_DYNAMIC_MODE)
405 // Informs the renderer process that Compact Language Detector (CLD) data is
406 // available and provides an IPC::PlatformFileForTransit obtained from
407 // IPC::GetFileHandleForProcess(...)
408 // See also: ChromeViewHostMsg_NeedCLDData
409 IPC_MESSAGE_ROUTED3(ChromeViewMsg_CLDDataAvailable,
410 IPC::PlatformFileForTransit /* ipc_file_handle */,
411 uint64 /* data_offset */,
412 uint64 /* data_length */)
413 #endif
414
404 // chrome.principals messages ------------------------------------------------ 415 // chrome.principals messages ------------------------------------------------
405 416
406 // Message sent from the renderer to the browser to get the list of browser 417 // Message sent from the renderer to the browser to get the list of browser
407 // managed accounts for the given origin. 418 // managed accounts for the given origin.
408 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, 419 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts,
409 GURL /* current URL */, 420 GURL /* current URL */,
410 std::vector<std::string> /* managed accounts */) 421 std::vector<std::string> /* managed accounts */)
411 422
412 // Message sent from the renderer to the browser to show the browser account 423 // Message sent from the renderer to the browser to show the browser account
413 // management UI. 424 // management UI.
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 // WebKit. 782 // WebKit.
772 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, 783 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded,
773 base::string16 /* message */, 784 base::string16 /* message */,
774 base::string16 /* source */, 785 base::string16 /* source */,
775 extensions::StackTrace /* stack trace */, 786 extensions::StackTrace /* stack trace */,
776 int32 /* severity level */) 787 int32 /* severity level */)
777 788
778 // Sent by the renderer to check if crash reporting is enabled. 789 // Sent by the renderer to check if crash reporting is enabled.
779 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 790 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
780 bool /* enabled */) 791 bool /* enabled */)
792
793 #if defined(CLD2_DYNAMIC_MODE)
794 // Informs the browser process that Compact Language Detector (CLD) data is
795 // required by the originating renderer. The browser process should respond
796 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it
797 // should go unanswered (the renderer will ask again later).
798 // See also: ChromeViewMsg_CLDDataAvailable
799 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData)
800 #endif
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698