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

Unified Diff: content/shell/renderer/test_runner/MockGrammarCheck.cpp

Issue 251263002: test_runner: Move three Mock* files into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/MockGrammarCheck.cpp
diff --git a/content/shell/renderer/test_runner/MockGrammarCheck.cpp b/content/shell/renderer/test_runner/MockGrammarCheck.cpp
index 0744af75d31f8e78d99fec46429f197ad1ce6db7..960129a0b774730ac280abc7c364cc0aa3e72356 100644
--- a/content/shell/renderer/test_runner/MockGrammarCheck.cpp
+++ b/content/shell/renderer/test_runner/MockGrammarCheck.cpp
@@ -15,13 +15,13 @@
using namespace blink;
using namespace std;
-namespace WebTestRunner {
+namespace content {
bool MockGrammarCheck::checkGrammarOfString(const WebString& text, vector<WebTextCheckingResult>* results)
{
DCHECK(results);
base::string16 stringText = text;
- if (find_if(stringText.begin(), stringText.end(), isASCIIAlpha) == stringText.end())
+ if (find_if(stringText.begin(), stringText.end(), WebTestRunner::isASCIIAlpha) == stringText.end())
return true;
// Find matching grammatical errors from known ones. This function has to
@@ -56,4 +56,4 @@ bool MockGrammarCheck::checkGrammarOfString(const WebString& text, vector<WebTex
return false;
}
-}
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698