OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/test_runner/mock_spell_check.h" | 5 #include "components/test_runner/mock_spell_check.h" |
6 | 6 |
| 7 #include <algorithm> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "components/test_runner/test_common.h" | 10 #include "components/test_runner/test_common.h" |
9 #include "third_party/WebKit/public/platform/WebCString.h" | 11 #include "third_party/WebKit/public/platform/WebCString.h" |
10 | 12 |
11 namespace test_runner { | 13 namespace test_runner { |
12 | 14 |
13 namespace { | 15 namespace { |
14 | 16 |
15 void Append(blink::WebVector<blink::WebString>* data, | 17 void Append(blink::WebVector<blink::WebString>* data, |
16 const blink::WebString& item) { | 18 const blink::WebString& item) { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // Mark as initialized to prevent this object from being initialized twice | 167 // Mark as initialized to prevent this object from being initialized twice |
166 // or more. | 168 // or more. |
167 initialized_ = true; | 169 initialized_ = true; |
168 | 170 |
169 // Since this MockSpellCheck class doesn't download dictionaries, this | 171 // Since this MockSpellCheck class doesn't download dictionaries, this |
170 // function always returns false. | 172 // function always returns false. |
171 return false; | 173 return false; |
172 } | 174 } |
173 | 175 |
174 } // namespace test_runner | 176 } // namespace test_runner |
OLD | NEW |