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

Side by Side Diff: chrome/common/render_messages.h

Issue 238783003: Merge 262846 "Revert 255617, due to it not tracking use of the link doctor page." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/renderer/net/net_error_helper.h » ('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 <stdint.h>
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 // Tells the frame it is displaying an interstitial page. 438 // Tells the frame it is displaying an interstitial page.
439 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) 439 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial)
440 440
441 // Provides the renderer with the results of the browser's investigation into 441 // Provides the renderer with the results of the browser's investigation into
442 // why a recent main frame load failed (currently, just DNS probe result). 442 // why a recent main frame load failed (currently, just DNS probe result).
443 // NetErrorHelper will receive this mesage and replace or update the error 443 // NetErrorHelper will receive this mesage and replace or update the error
444 // page with more specific troubleshooting suggestions. 444 // page with more specific troubleshooting suggestions.
445 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, 445 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo,
446 int /* DNS probe status */) 446 int /* DNS probe status */)
447 447
448 // Provides the information needed by the renderer process to contact a 448 // Sets the alternate error page URL (Link Doctor) for the renderer process.
449 // navigation correction service. Handled by the NetErrorHelper. 449 // Handled by the NetErrorHelper.
450 IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, 450 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAltErrorPageURL, GURL)
451 GURL /* Navigation correction service base URL */,
452 std::string /* language */,
453 std::string /* origin_country */,
454 std::string /* API key to use */,
455 GURL /* Google Search URL to use */)
456 451
457 //----------------------------------------------------------------------------- 452 //-----------------------------------------------------------------------------
458 // Misc messages 453 // Misc messages
459 // These are messages sent from the renderer to the browser process. 454 // These are messages sent from the renderer to the browser process.
460 455
461 // Notification that the language for the tab has been determined. 456 // Notification that the language for the tab has been determined.
462 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, 457 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined,
463 LanguageDetectionDetails /* details about lang detection */, 458 LanguageDetectionDetails /* details about lang detection */,
464 bool /* whether the page needs translation */) 459 bool /* whether the page needs translation */)
465 460
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 bool /* enabled */) 786 bool /* enabled */)
792 787
793 #if defined(CLD2_DYNAMIC_MODE) 788 #if defined(CLD2_DYNAMIC_MODE)
794 // Informs the browser process that Compact Language Detector (CLD) data is 789 // Informs the browser process that Compact Language Detector (CLD) data is
795 // required by the originating renderer. The browser process should respond 790 // required by the originating renderer. The browser process should respond
796 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it 791 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it
797 // should go unanswered (the renderer will ask again later). 792 // should go unanswered (the renderer will ask again later).
798 // See also: ChromeViewMsg_CLDDataAvailable 793 // See also: ChromeViewMsg_CLDDataAvailable
799 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData) 794 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData)
800 #endif 795 #endif
OLDNEW
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/renderer/net/net_error_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698