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

Side by Side Diff: components/test_runner/mock_spell_check.cc

Issue 1528323002: Include <algorithm> if you use functions from <algorithm>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split ui parts into a separate review Created 5 years 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
« no previous file with comments | « no previous file | content/renderer/media/media_stream.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 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
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
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/media_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698