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

Unified Diff: chrome/renderer/autofill/page_click_tracker_browsertest.cc

Issue 818563003: Tests in browser_tests target should use ChromeRenderViewTest as the base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | extensions/DEPS » ('j') | extensions/DEPS » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/autofill/page_click_tracker_browsertest.cc
diff --git a/chrome/renderer/autofill/page_click_tracker_browsertest.cc b/chrome/renderer/autofill/page_click_tracker_browsertest.cc
index 409735047dfb217f6e74bd1f224d96019aec6270..6495254487a2e267dd8c4f51051748eb44aba594 100644
--- a/chrome/renderer/autofill/page_click_tracker_browsertest.cc
+++ b/chrome/renderer/autofill/page_click_tracker_browsertest.cc
@@ -3,10 +3,10 @@
// found in the LICENSE file.
#include "base/basictypes.h"
+#include "chrome/test/base/chrome_render_view_test.h"
#include "components/autofill/content/renderer/page_click_listener.h"
#include "components/autofill/content/renderer/page_click_tracker.h"
#include "content/public/renderer/render_view.h"
-#include "content/public/test/render_view_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebInputElement.h"
@@ -41,10 +41,10 @@ class TestPageClickListener : public PageClickListener {
bool was_focused_;
};
-class PageClickTrackerTest : public content::RenderViewTest {
+class PageClickTrackerTest : public ChromeRenderViewTest {
protected:
void SetUp() override {
- content::RenderViewTest::SetUp();
+ ChromeRenderViewTest::SetUp();
// RenderView creates PageClickTracker but it doesn't keep it around.
// Rather than make it do so for the test, we create a new object.
@@ -71,7 +71,7 @@ class PageClickTrackerTest : public content::RenderViewTest {
textarea_.reset();
test_listener_.ClearResults();
page_click_tracker_.reset();
- content::RenderViewTest::TearDown();
+ ChromeRenderViewTest::TearDown();
}
// Simulates a click on the given element and then waits for the stack
« no previous file with comments | « no previous file | extensions/DEPS » ('j') | extensions/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698