summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 16:51:06 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 16:51:06 +0000
commit0d5c08e06dc7c5e0f2895134cdd9c34c2402551c (patch)
treee3d11f0e103415425ba1d00468ecf38458bda2b0 /chrome/browser/background
parent1a80b85a916168de948d92abf355df4e20529080 (diff)
downloadchromium_src-0d5c08e06dc7c5e0f2895134cdd9c34c2402551c.zip
chromium_src-0d5c08e06dc7c5e0f2895134cdd9c34c2402551c.tar.gz
chromium_src-0d5c08e06dc7c5e0f2895134cdd9c34c2402551c.tar.bz2
Add OVERRIDE to chrome/browser/.
BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8612007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background')
-rw-r--r--chrome/browser/background/background_application_list_model.h2
-rw-r--r--chrome/browser/background/background_contents_service.h4
-rw-r--r--chrome/browser/background/background_contents_service_factory.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/background/background_application_list_model.h b/chrome/browser/background/background_application_list_model.h
index 333d850..44248c8 100644
--- a/chrome/browser/background/background_application_list_model.h
+++ b/chrome/browser/background/background_application_list_model.h
@@ -105,7 +105,7 @@ class BackgroundApplicationListModel : public content::NotificationObserver {
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details);
+ const content::NotificationDetails& details) OVERRIDE;
// Notifies observers that some of the data associated with this background
// application, e. g. the Icon, has changed.
diff --git a/chrome/browser/background/background_contents_service.h b/chrome/browser/background/background_contents_service.h
index 7143418..14adadc 100644
--- a/chrome/browser/background/background_contents_service.h
+++ b/chrome/browser/background/background_contents_service.h
@@ -62,7 +62,7 @@ class BackgroundContentsService : private content::NotificationObserver,
virtual void AddTabContents(TabContents* new_contents,
WindowOpenDisposition disposition,
const gfx::Rect& initial_pos,
- bool user_gesture);
+ bool user_gesture) OVERRIDE;
// Gets the parent application id for the passed BackgroundContents. Returns
// an empty string if no parent application found (e.g. passed
@@ -108,7 +108,7 @@ class BackgroundContentsService : private content::NotificationObserver,
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details);
+ const content::NotificationDetails& details) OVERRIDE;
// Loads all registered BackgroundContents at startup.
void LoadBackgroundContentsFromPrefs(Profile* profile);
diff --git a/chrome/browser/background/background_contents_service_factory.h b/chrome/browser/background/background_contents_service_factory.h
index 9e3e289..3a03c36 100644
--- a/chrome/browser/background/background_contents_service_factory.h
+++ b/chrome/browser/background/background_contents_service_factory.h
@@ -30,7 +30,7 @@ class BackgroundContentsServiceFactory : public ProfileKeyedServiceFactory {
// ProfileKeyedServiceFactory:
virtual ProfileKeyedService* BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
- virtual void RegisterUserPrefs(PrefService* user_prefs);
+ virtual void RegisterUserPrefs(PrefService* user_prefs) OVERRIDE;
// Use a separate background contents service for incognito.
virtual bool ServiceHasOwnInstanceInIncognito() OVERRIDE;
virtual bool ServiceIsCreatedWithProfile() OVERRIDE;