// Copyright 2006-2008 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/tools/convert_dict/hunspell_reader.h" #include <stddef.h> #include "base/strings/string_util.h" namespace convert_dict { // This silly 64K buffer is just copied from Hunspell's way of parsing. const int kLineBufferLen = …; char line_buffer[kLineBufferLen]; // Shortcut for trimming whitespace from both ends of the line. void TrimLine(std::string* line) { … } std::string ReadLine(FILE* file) { … } void StripComment(std::string* line) { … } } // namespace convert_dict