OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_DETAILS_H_ | 5 #ifndef CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_DETAILS_H_ |
6 #define CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_DETAILS_H_ | 6 #define CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_DETAILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 // Whether the CLD detection is reliable or not. | 30 // Whether the CLD detection is reliable or not. |
31 bool is_cld_reliable; | 31 bool is_cld_reliable; |
32 | 32 |
33 // The language written in the lang attribute of the html element. | 33 // The language written in the lang attribute of the html element. |
34 std::string html_root_language; | 34 std::string html_root_language; |
35 | 35 |
36 // The adopted language. | 36 // The adopted language. |
37 std::string adopted_language; | 37 std::string adopted_language; |
38 | 38 |
39 // The contents which is used for detection. | 39 // The contents which is used for detection. |
40 string16 contents; | 40 base::string16 contents; |
41 }; | 41 }; |
42 | 42 |
43 #endif // CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_DETAILS_H_ | 43 #endif // CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_DETAILS_H_ |
OLD | NEW |