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

Unified Diff: chrome/browser/background/background_contents_service_unittest.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/background/background_contents_service_unittest.cc
===================================================================
--- chrome/browser/background/background_contents_service_unittest.cc (revision 181040)
+++ chrome/browser/background/background_contents_service_unittest.cc (working copy)
@@ -26,8 +26,8 @@
class BackgroundContentsServiceTest : public testing::Test {
public:
BackgroundContentsServiceTest() {}
- ~BackgroundContentsServiceTest() {}
- void SetUp() {
+ virtual ~BackgroundContentsServiceTest() {}
+ virtual void SetUp() {
command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM));
}
@@ -75,7 +75,7 @@
content::Source<Profile>(profile_),
content::Details<BackgroundContents>(this));
}
- virtual const GURL& GetURL() const { return url_; }
+ virtual const GURL& GetURL() const OVERRIDE { return url_; }
void MockClose(Profile* profile) {
content::NotificationService::current()->Notify(
@@ -85,7 +85,7 @@
delete this;
}
- ~MockBackgroundContents() {
+ virtual ~MockBackgroundContents() {
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_BACKGROUND_CONTENTS_DELETED,
content::Source<Profile>(profile_),

Powered by Google App Engine
This is Rietveld 408576698