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

Unified Diff: content/shell/renderer/test_runner/mock_grammar_check.h

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/mock_grammar_check.h
diff --git a/content/shell/renderer/test_runner/mock_grammar_check.h b/content/shell/renderer/test_runner/mock_grammar_check.h
deleted file mode 100644
index 5bbd778ab267667bd246ac7f3f02245b3921c486..0000000000000000000000000000000000000000
--- a/content/shell/renderer/test_runner/mock_grammar_check.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_GRAMMAR_CHECK_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_GRAMMAR_CHECK_H_
-
-#include <vector>
-
-namespace blink {
-class WebString;
-struct WebTextCheckingResult;
-}
-
-namespace content {
-
-// A mock implementation of a grammar-checker used for WebKit tests. This class
-// only implements the minimal functionarities required by WebKit tests, i.e.
-// this class just compares the given string with known grammar mistakes in
-// webkit tests and adds grammar markers on them. Even though this is sufficent
-// for webkit tests, this class is not suitable for any other usages.
-class MockGrammarCheck {
- public:
- static bool CheckGrammarOfString(const blink::WebString&,
- std::vector<blink::WebTextCheckingResult>*);
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_GRAMMAR_CHECK_H_

Powered by Google App Engine
This is Rietveld 408576698