1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "encodings/compact_lang_det/win/cld_utf8utils.h"
7 #include "encodings/compact_lang_det/win/cld_utf8statetable.h"
11 int UTF8GenericScan(const UTF8ScanObj* st, const char* src, int len,
12 int* bytes_consumed) {
13 return ::UTF8GenericScan(st, reinterpret_cast<const uint8*>(src), len,