diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-21 16:51:06 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-21 16:51:06 +0000 |
commit | 0d5c08e06dc7c5e0f2895134cdd9c34c2402551c (patch) | |
tree | e3d11f0e103415425ba1d00468ecf38458bda2b0 /chrome/browser/history | |
parent | 1a80b85a916168de948d92abf355df4e20529080 (diff) | |
download | chromium_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/history')
-rw-r--r-- | chrome/browser/history/archived_database.h | 2 | ||||
-rw-r--r-- | chrome/browser/history/history.h | 2 | ||||
-rw-r--r-- | chrome/browser/history/history_backend.h | 2 | ||||
-rw-r--r-- | chrome/browser/history/history_database.h | 2 | ||||
-rw-r--r-- | chrome/browser/history/history_tab_helper.h | 8 | ||||
-rw-r--r-- | chrome/browser/history/in_memory_database.h | 2 | ||||
-rw-r--r-- | chrome/browser/history/in_memory_history_backend.h | 2 | ||||
-rw-r--r-- | chrome/browser/history/top_sites.h | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/chrome/browser/history/archived_database.h b/chrome/browser/history/archived_database.h index 7303d35..053a490 100644 --- a/chrome/browser/history/archived_database.h +++ b/chrome/browser/history/archived_database.h @@ -41,7 +41,7 @@ class ArchivedDatabase : public URLDatabase, private: // Implemented for the specialized databases. - virtual sql::Connection& GetDB(); + virtual sql::Connection& GetDB() OVERRIDE; // Makes sure the version is up-to-date, updating if necessary. If the // database is too old to migrate, the user will be notified. In this case, or diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index ccfd045..b205dc4 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -595,7 +595,7 @@ class HistoryService : public CancelableRequestProvider, // Implementation of content::NotificationObserver. virtual void Observe(int type, const content::NotificationSource& source, - const content::NotificationDetails& details); + const content::NotificationDetails& details) OVERRIDE; // Low-level Init(). Same as the public version, but adds a |no_db| parameter // that is only set by unittests which causes the backend to not init its DB. diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h index 1ecf80c..9600df1 100644 --- a/chrome/browser/history/history_backend.h +++ b/chrome/browser/history/history_backend.h @@ -515,7 +515,7 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>, // details argument will have ownership taken by this function (it will be // sent to the main thread and deleted there). virtual void BroadcastNotifications(int type, - HistoryDetails* details_deleted); + HistoryDetails* details_deleted) OVERRIDE; // Deleting all history ------------------------------------------------------ diff --git a/chrome/browser/history/history_database.h b/chrome/browser/history/history_database.h index f027ebb..77a00b8 100644 --- a/chrome/browser/history/history_database.h +++ b/chrome/browser/history/history_database.h @@ -146,7 +146,7 @@ class HistoryDatabase : public DownloadDatabase, FRIEND_TEST_ALL_PREFIXES(IconMappingMigrationTest, TestIconMappingMigration); // Implemented for URLDatabase. - virtual sql::Connection& GetDB(); + virtual sql::Connection& GetDB() OVERRIDE; // Migration ----------------------------------------------------------------- diff --git a/chrome/browser/history/history_tab_helper.h b/chrome/browser/history/history_tab_helper.h index a7b31bc..b5f83ef 100644 --- a/chrome/browser/history/history_tab_helper.h +++ b/chrome/browser/history/history_tab_helper.h @@ -42,18 +42,18 @@ class HistoryTabHelper : public TabContentsObserver, private: // TabContentsObserver implementation. - virtual bool OnMessageReceived(const IPC::Message& message); + virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; virtual void DidNavigateMainFrame( const content::LoadCommittedDetails& details, - const ViewHostMsg_FrameNavigate_Params& params); + const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; virtual void DidNavigateAnyFrame( const content::LoadCommittedDetails& details, - const ViewHostMsg_FrameNavigate_Params& params); + const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; // content::NotificationObserver implementation. virtual void Observe(int type, const content::NotificationSource& source, - const content::NotificationDetails& details); + const content::NotificationDetails& details) OVERRIDE; void OnPageContents(const GURL& url, int32 page_id, diff --git a/chrome/browser/history/in_memory_database.h b/chrome/browser/history/in_memory_database.h index f6121d4..48bb898 100644 --- a/chrome/browser/history/in_memory_database.h +++ b/chrome/browser/history/in_memory_database.h @@ -33,7 +33,7 @@ class InMemoryDatabase : public URLDatabase { protected: // Implemented for URLDatabase. - virtual sql::Connection& GetDB(); + virtual sql::Connection& GetDB() OVERRIDE; private: // Initializes the database connection, this is the shared code between diff --git a/chrome/browser/history/in_memory_history_backend.h b/chrome/browser/history/in_memory_history_backend.h index b280b5e..16b2907 100644 --- a/chrome/browser/history/in_memory_history_backend.h +++ b/chrome/browser/history/in_memory_history_backend.h @@ -67,7 +67,7 @@ class InMemoryHistoryBackend : public content::NotificationObserver { // Notification callback. virtual void Observe(int type, const content::NotificationSource& source, - const content::NotificationDetails& details); + const content::NotificationDetails& details) OVERRIDE; // Return the quick history index. history::InMemoryURLIndex* InMemoryIndex() const { return index_.get(); } diff --git a/chrome/browser/history/top_sites.h b/chrome/browser/history/top_sites.h index 0ddce35a..5423fac 100644 --- a/chrome/browser/history/top_sites.h +++ b/chrome/browser/history/top_sites.h @@ -295,7 +295,7 @@ class TopSites // Implementation of content::NotificationObserver. virtual void Observe(int type, const content::NotificationSource& source, - const content::NotificationDetails& details); + const content::NotificationDetails& details) OVERRIDE; // Resets top_sites_ and updates the db (in the background). All mutations to // top_sites_ *must* go through this. |