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

Unified Diff: chrome/common/language_detection_details.h

Issue 15728008: Add the 'content' column to see what text is used to detect a language (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/language_detection_details.h
diff --git a/chrome/common/language_detection_details.h b/chrome/common/language_detection_details.h
index 3fa4a1596f2eaa2b770a50e9ae96426f30843391..a8db2563906b3cee7e308b9009a379b09745c900 100644
--- a/chrome/common/language_detection_details.h
+++ b/chrome/common/language_detection_details.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/string16.h"
#include "base/time.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
@@ -32,6 +33,9 @@ struct LanguageDetectionDetails {
// The adopted language
std::string adopted_language;
+
+ // The contents which is used for detection
+ string16 contents;
};
#endif // CHROME_COMMON_LANGUAGE_DETECTION_DETAILS_H_

Powered by Google App Engine
This is Rietveld 408576698