| Index: chrome/common/render_messages.h
|
| diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
|
| index 94439e0f7ffe605bfe84eff1f95fb5e378630f89..179d83b46ad386d923b98eab23fd1301aebdbe1d 100644
|
| --- a/chrome/common/render_messages.h
|
| +++ b/chrome/common/render_messages.h
|
| @@ -20,6 +20,7 @@
|
| #include "chrome/common/content_settings.h"
|
| #include "chrome/common/content_settings_pattern.h"
|
| #include "chrome/common/instant_types.h"
|
| +#include "chrome/common/language_detection_details.h"
|
| #include "chrome/common/nacl_types.h"
|
| #include "chrome/common/omnibox_focus_state.h"
|
| #include "chrome/common/search_provider.h"
|
| @@ -239,6 +240,15 @@ IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::UsageStats)
|
| IPC_STRUCT_TRAITS_MEMBER(deadSize)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(LanguageDetectionDetails)
|
| + IPC_STRUCT_TRAITS_MEMBER(time)
|
| + IPC_STRUCT_TRAITS_MEMBER(url)
|
| + IPC_STRUCT_TRAITS_MEMBER(content_language)
|
| + IPC_STRUCT_TRAITS_MEMBER(cld_language)
|
| + IPC_STRUCT_TRAITS_MEMBER(is_cld_reliable)
|
| + IPC_STRUCT_TRAITS_MEMBER(adopted_language)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| //-----------------------------------------------------------------------------
|
| // RenderView messages
|
| // These are messages sent from the browser to the renderer process.
|
| @@ -443,8 +453,8 @@ IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageContents,
|
|
|
| // Notification that the language for the tab has been determined.
|
| IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined,
|
| - std::string /* page ISO639_1 language code */,
|
| - bool /* whether the page needs translation */)
|
| + LanguageDetectionDetails /* details about lang detection */,
|
| + bool /* whether the page needs translation */)
|
|
|
| IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats,
|
| WebKit::WebCache::UsageStats /* stats */)
|
|
|