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 #ifndef ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8UTILS_H_
6 #define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8UTILS_H_
8 #include "encodings/compact_lang_det/win/cld_utf8statetable.h"
12 // Scan a UTF-8 stringpiece based on a state table.
13 // Always scan complete UTF-8 characters
14 // Set number of bytes scanned. Return reason for exiting
15 int UTF8GenericScan(const UTF8ScanObj* st,
22 #endif // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8UTILS_H_