| OLD | NEW |
| 1 // Copyright (c) 2006-2009 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 #ifndef ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8STATETABLE_H_ | 5 #ifndef ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8STATETABLE_H_ |
| 6 #define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8STATETABLE_H_ | 6 #define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8STATETABLE_H_ |
| 7 | 7 |
| 8 #if !defined(CLD_WINDOWS) | 8 #if !defined(CLD_WINDOWS) |
| 9 | 9 |
| 10 #include "util/utf8/utf8statetable.h" | 10 #include "util/utf8/utf8statetable.h" |
| 11 | 11 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // Always scan complete UTF-8 characters | 132 // Always scan complete UTF-8 characters |
| 133 // Set number of bytes scanned. Return reason for exiting | 133 // Set number of bytes scanned. Return reason for exiting |
| 134 int UTF8GenericScan(const UTF8ScanObj* st, | 134 int UTF8GenericScan(const UTF8ScanObj* st, |
| 135 const uint8* str, | 135 const uint8* str, |
| 136 const int len, | 136 const int len, |
| 137 int* bytes_consumed); | 137 int* bytes_consumed); |
| 138 | 138 |
| 139 #endif | 139 #endif |
| 140 | 140 |
| 141 #endif // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8STATETABLE_H_ | 141 #endif // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8STATETABLE_H_ |
| OLD | NEW |