| 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 #include "encodings/compact_lang_det/win/cld_utf8utils.h" | 5 #include "encodings/compact_lang_det/win/cld_utf8utils.h" |
| 6 | 6 |
| 7 #include "encodings/compact_lang_det/win/cld_utf8statetable.h" | 7 #include "encodings/compact_lang_det/win/cld_utf8statetable.h" |
| 8 | 8 |
| 9 namespace cld { | 9 namespace cld { |
| 10 | 10 |
| 11 int UTF8GenericScan(const UTF8ScanObj* st, const char* src, int len, | 11 int UTF8GenericScan(const UTF8ScanObj* st, const char* src, int len, |
| 12 int* bytes_consumed) { | 12 int* bytes_consumed) { |
| 13 return ::UTF8GenericScan(st, reinterpret_cast<const uint8*>(src), len, | 13 return ::UTF8GenericScan(st, reinterpret_cast<const uint8*>(src), len, |
| 14 bytes_consumed); | 14 bytes_consumed); |
| 15 } | 15 } |
| 16 | 16 |
| 17 } // namespace cld | 17 } // namespace cld |
| OLD | NEW |