Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: third_party/cld/encodings/compact_lang_det/win/cld_utf8utils.h

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_UTF8UTILS_H_ 5 #ifndef ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8UTILS_H_
6 #define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8UTILS_H_ 6 #define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8UTILS_H_
7 7
8 #include "encodings/compact_lang_det/win/cld_utf8statetable.h" 8 #include "encodings/compact_lang_det/win/cld_utf8statetable.h"
9 9
10 namespace cld { 10 namespace cld {
11 11
12 // Scan a UTF-8 stringpiece based on a state table. 12 // Scan a UTF-8 stringpiece based on a state table.
13 // Always scan complete UTF-8 characters 13 // Always scan complete UTF-8 characters
14 // Set number of bytes scanned. Return reason for exiting 14 // Set number of bytes scanned. Return reason for exiting
15 int UTF8GenericScan(const UTF8ScanObj* st, 15 int UTF8GenericScan(const UTF8ScanObj* st,
16 const char* src, 16 const char* src,
17 int len, 17 int len,
18 int* bytes_consumed); 18 int* bytes_consumed);
19 19
20 } // namespace cld 20 } // namespace cld
21 21
22 #endif // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8UTILS_H_ 22 #endif // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UTF8UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698