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

Side by Side Diff: chrome/renderer/spellchecker/hunspell_engine.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) 2012 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 #include "chrome/renderer/spellchecker/hunspell_engine.h" 5 #include "chrome/renderer/spellchecker/hunspell_engine.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <iterator> 10 #include <iterator>
9 11
10 #include "base/files/memory_mapped_file.h" 12 #include "base/files/memory_mapped_file.h"
11 #include "base/time/time.h" 13 #include "base/time/time.h"
12 #include "chrome/common/spellcheck_common.h" 14 #include "chrome/common/spellcheck_common.h"
13 #include "chrome/common/spellcheck_messages.h" 15 #include "chrome/common/spellcheck_messages.h"
14 #include "content/public/renderer/render_thread.h" 16 #include "content/public/renderer/render_thread.h"
15 #include "third_party/hunspell/src/hunspell/hunspell.hxx" 17 #include "third_party/hunspell/src/hunspell/hunspell.hxx"
16 18
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Don't initialize if hunspell is disabled. 131 // Don't initialize if hunspell is disabled.
130 if (file_.IsValid()) 132 if (file_.IsValid())
131 InitializeHunspell(); 133 InitializeHunspell();
132 134
133 return !initialized_; 135 return !initialized_;
134 } 136 }
135 137
136 bool HunspellEngine::IsEnabled() { 138 bool HunspellEngine::IsEnabled() {
137 return hunspell_enabled_; 139 return hunspell_enabled_;
138 } 140 }
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/custom_dictionary_engine.cc ('k') | chrome/renderer/spellchecker/spellcheck.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698