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

Unified Diff: chrome/browser/autofill/content_autofill_driver_browsertest.cc

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: chrome/browser/autofill/content_autofill_driver_browsertest.cc
diff --git a/chrome/browser/autofill/content_autofill_driver_browsertest.cc b/chrome/browser/autofill/content_autofill_driver_browsertest.cc
index e87f5a2f8b63f7ecd00af9f9c894c7621863f9b1..71afe9b42fbac7bfedde7a561000ebc0d582b574 100644
--- a/chrome/browser/autofill/content_autofill_driver_browsertest.cc
+++ b/chrome/browser/autofill/content_autofill_driver_browsertest.cc
@@ -77,7 +77,7 @@ class ContentAutofillDriverBrowserTest : public InProcessBrowserTest,
ContentAutofillDriverBrowserTest() {}
virtual ~ContentAutofillDriverBrowserTest() {}
- virtual void SetUpOnMainThread() override {
+ void SetUpOnMainThread() override {
content::WebContents* web_contents =
browser()->tab_strip_model()->GetActiveWebContents();
ASSERT_TRUE(web_contents != NULL);
@@ -92,20 +92,18 @@ class ContentAutofillDriverBrowserTest : public InProcessBrowserTest,
AutofillManager::DISABLE_AUTOFILL_DOWNLOAD_MANAGER);
}
- virtual void WasHidden() override {
+ void WasHidden() override {
if (!web_contents_hidden_callback_.is_null())
web_contents_hidden_callback_.Run();
}
- virtual void NavigationEntryCommitted(
+ void NavigationEntryCommitted(
const content::LoadCommittedDetails& load_details) override {
if (!nav_entry_committed_callback_.is_null())
nav_entry_committed_callback_.Run();
}
protected:
- content::WebContents* web_contents_;
-
base::Closure web_contents_hidden_callback_;
base::Closure nav_entry_committed_callback_;
« no previous file with comments | « chrome/browser/autocomplete/shortcuts_database.h ('k') | chrome/browser/captive_portal/captive_portal_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698