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

Side by Side Diff: components/translate/content/common/translate_messages.h

Issue 1755363003: Revert of Mustash: Move GURL ParamTraits to url/ipc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « components/translate.gypi ('k') | content/browser/frame_host/navigator_impl.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include "components/translate/core/common/language_detection_details.h" 7 #include "components/translate/core/common/language_detection_details.h"
8 #include "components/translate/core/common/translate_errors.h" 8 #include "components/translate/core/common/translate_errors.h"
9 #include "content/public/common/common_param_traits.h"
9 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_message_utils.h" 11 #include "ipc/ipc_message_utils.h"
11 #include "url/ipc/url_param_traits.h"
12 12
13 #define IPC_MESSAGE_START TranslateMsgStart 13 #define IPC_MESSAGE_START TranslateMsgStart
14 14
15 IPC_ENUM_TRAITS_MAX_VALUE(translate::TranslateErrors::Type, 15 IPC_ENUM_TRAITS_MAX_VALUE(translate::TranslateErrors::Type,
16 translate::TranslateErrors::TYPE_LAST) 16 translate::TranslateErrors::TYPE_LAST)
17 17
18 IPC_STRUCT_TRAITS_BEGIN(translate::LanguageDetectionDetails) 18 IPC_STRUCT_TRAITS_BEGIN(translate::LanguageDetectionDetails)
19 IPC_STRUCT_TRAITS_MEMBER(time) 19 IPC_STRUCT_TRAITS_MEMBER(time)
20 IPC_STRUCT_TRAITS_MEMBER(url) 20 IPC_STRUCT_TRAITS_MEMBER(url)
21 IPC_STRUCT_TRAITS_MEMBER(content_language) 21 IPC_STRUCT_TRAITS_MEMBER(content_language)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 ChromeFrameHostMsg_TranslateLanguageDetermined, 58 ChromeFrameHostMsg_TranslateLanguageDetermined,
59 translate::LanguageDetectionDetails /* details about lang detection */, 59 translate::LanguageDetectionDetails /* details about lang detection */,
60 bool /* whether the page needs translation */) 60 bool /* whether the page needs translation */)
61 61
62 // Notifies the browser that a page has been translated. 62 // Notifies the browser that a page has been translated.
63 IPC_MESSAGE_ROUTED3( 63 IPC_MESSAGE_ROUTED3(
64 ChromeFrameHostMsg_PageTranslated, 64 ChromeFrameHostMsg_PageTranslated,
65 std::string /* the original language */, 65 std::string /* the original language */,
66 std::string /* the translated language */, 66 std::string /* the translated language */,
67 translate::TranslateErrors::Type /* the error type if available */) 67 translate::TranslateErrors::Type /* the error type if available */)
OLDNEW
« no previous file with comments | « components/translate.gypi ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698