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

Side by Side Diff: chrome/tools/convert_dict/aff_reader.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/tools/convert_dict/aff_reader.h" 5 #include "chrome/tools/convert_dict/aff_reader.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
10 #include "base/i18n/icu_string_conversions.h" 12 #include "base/i18n/icu_string_conversions.h"
11 #include "base/strings/string_split.h" 13 #include "base/strings/string_split.h"
12 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
13 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
14 #include "chrome/tools/convert_dict/hunspell_reader.h" 16 #include "chrome/tools/convert_dict/hunspell_reader.h"
15 17
16 namespace convert_dict { 18 namespace convert_dict {
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 } 330 }
329 331
330 void AffReader::HandleEncodedCommand(const std::string& line) { 332 void AffReader::HandleEncodedCommand(const std::string& line) {
331 std::string utf8; 333 std::string utf8;
332 if (!EncodingToUTF8(line, &utf8)) 334 if (!EncodingToUTF8(line, &utf8))
333 Panic("Cannot encode command '%s' to utf8.", line.c_str()); 335 Panic("Cannot encode command '%s' to utf8.", line.c_str());
334 other_commands_.push_back(utf8); 336 other_commands_.push_back(utf8);
335 } 337 }
336 338
337 } // namespace convert_dict 339 } // namespace convert_dict
OLDNEW
« no previous file with comments | « chrome/third_party/mozilla_security_manager/nsUsageArrayHelper.cpp ('k') | chrome/tools/convert_dict/convert_dict.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698