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

Side by Side Diff: content/shell/renderer/test_runner/MockSpellCheck.cpp

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/MockGrammarCheck.cpp ('k') | content/shell/renderer/test_runner/MockWebMIDIAccessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698