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

Side by Side Diff: webkit/tools/test_shell/mock_spellcheck.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « webkit/support/test_webkit_client.cc ('k') | webkit/tools/test_shell/simple_database_system.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "webkit/tools/test_shell/mock_spellcheck.h" 5 #include "webkit/tools/test_shell/mock_spellcheck.h"
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h"
13 14
14 MockSpellCheck::MockSpellCheck() 15 MockSpellCheck::MockSpellCheck()
15 : initialized_(false) { 16 : initialized_(false) {
16 } 17 }
17 18
18 MockSpellCheck::~MockSpellCheck() { 19 MockSpellCheck::~MockSpellCheck() {
19 } 20 }
20 21
21 bool MockSpellCheck::SpellCheckWord(const string16& text, 22 bool MockSpellCheck::SpellCheckWord(const string16& text,
22 int* misspelledOffset, 23 int* misspelledOffset,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 118 }
118 119
119 // Mark as initialized to prevent this object from being initialized twice 120 // Mark as initialized to prevent this object from being initialized twice
120 // or more. 121 // or more.
121 initialized_ = true; 122 initialized_ = true;
122 123
123 // Since this MockSpellCheck class doesn't download dictionaries, this 124 // Since this MockSpellCheck class doesn't download dictionaries, this
124 // function always returns false. 125 // function always returns false.
125 return false; 126 return false;
126 } 127 }
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_client.cc ('k') | webkit/tools/test_shell/simple_database_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698