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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc

Issue 12212048: Linux/ChromeOS Chromium style checker cleanup, chrome/browser edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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/safe_browsing/safe_browsing_blocking_page_test.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (revision 181040)
+++ chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (working copy)
@@ -58,7 +58,7 @@
// Otherwise it returns false, and "client" is called asynchronously with the
// result when it is ready.
// Overrides SafeBrowsingDatabaseManager::CheckBrowseUrl.
- virtual bool CheckBrowseUrl(const GURL& gurl, Client* client) {
+ virtual bool CheckBrowseUrl(const GURL& gurl, Client* client) OVERRIDE {
if (badurls[gurl.spec()] == SB_THREAT_TYPE_SAFE)
return true;
@@ -97,7 +97,8 @@
SafeBrowsingUIManager(service) { }
// Overrides SafeBrowsingUIManager
- virtual void SendSerializedMalwareDetails(const std::string& serialized) {
+ virtual void SendSerializedMalwareDetails(
+ const std::string& serialized) OVERRIDE {
reports_.push_back(serialized);
// Notify the UI thread that we got a report.
BrowserThread::PostTask(
@@ -265,7 +266,7 @@
malware_details_proceed_delay_ms_ = 100;
}
- ~TestSafeBrowsingBlockingPage() {
+ virtual ~TestSafeBrowsingBlockingPage() {
if (!wait_for_delete_)
return;
@@ -287,7 +288,7 @@
: public SafeBrowsingBlockingPageFactory {
public:
TestSafeBrowsingBlockingPageFactory() { }
- ~TestSafeBrowsingBlockingPageFactory() { }
+ virtual ~TestSafeBrowsingBlockingPageFactory() { }
virtual SafeBrowsingBlockingPage* CreateSafeBrowsingPage(
SafeBrowsingUIManager* delegate,

Powered by Google App Engine
This is Rietveld 408576698