OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/shell/renderer/test_runner/MockSpellCheck.h" | 5 #include "content/shell/renderer/test_runner/MockSpellCheck.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/shell/renderer/test_runner/TestCommon.h" | 8 #include "content/shell/renderer/test_runner/TestCommon.h" |
9 #include "third_party/WebKit/public/platform/WebCString.h" | 9 #include "third_party/WebKit/public/platform/WebCString.h" |
10 | 10 |
11 using namespace WebTestRunner; | |
12 using namespace blink; | 11 using namespace blink; |
13 using namespace std; | 12 using namespace std; |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 | 15 |
17 namespace { | 16 namespace { |
18 | 17 |
19 void append(WebVector<WebString>* data, const WebString& item) | 18 void append(WebVector<WebString>* data, const WebString& item) |
20 { | 19 { |
21 WebVector<WebString> result(data->size() + 1); | 20 WebVector<WebString> result(data->size() + 1); |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // Mark as initialized to prevent this object from being initialized twice | 176 // Mark as initialized to prevent this object from being initialized twice |
178 // or more. | 177 // or more. |
179 m_initialized = true; | 178 m_initialized = true; |
180 | 179 |
181 // Since this MockSpellCheck class doesn't download dictionaries, this | 180 // Since this MockSpellCheck class doesn't download dictionaries, this |
182 // function always returns false. | 181 // function always returns false. |
183 return false; | 182 return false; |
184 } | 183 } |
185 | 184 |
186 } // namespace content | 185 } // namespace content |
OLD | NEW |