From 78994ab0a043ead9b3edb4a48c7f13cc6c2aede6 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Wed, 8 Dec 2010 18:06:44 +0000 Subject: Add the "virtual" keyword on method overrides that are missing it. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5648004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68606 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/appcache/appcache_update_job.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'webkit/appcache') diff --git a/webkit/appcache/appcache_update_job.h b/webkit/appcache/appcache_update_job.h index dacff44..8b75312 100644 --- a/webkit/appcache/appcache_update_job.h +++ b/webkit/appcache/appcache_update_job.h @@ -102,15 +102,17 @@ class AppCacheUpdateJob : public net::URLRequest::Delegate, // TODO(jennb): any other delegate callbacks to handle? certificate? // Methods for AppCacheStorage::Delegate. - void OnResponseInfoLoaded(AppCacheResponseInfo* response_info, - int64 response_id); - void OnGroupAndNewestCacheStored(AppCacheGroup* group, AppCache* newest_cache, - bool success, bool would_exceed_quota); - void OnGroupMadeObsolete(AppCacheGroup* group, bool success); + virtual void OnResponseInfoLoaded(AppCacheResponseInfo* response_info, + int64 response_id); + virtual void OnGroupAndNewestCacheStored(AppCacheGroup* group, + AppCache* newest_cache, + bool success, + bool would_exceed_quota); + virtual void OnGroupMadeObsolete(AppCacheGroup* group, bool success); // Methods for AppCacheHost::Observer. - void OnCacheSelectionComplete(AppCacheHost* host) {} // N/A - void OnDestructionImminent(AppCacheHost* host); + virtual void OnCacheSelectionComplete(AppCacheHost* host) {} // N/A + virtual void OnDestructionImminent(AppCacheHost* host); void CheckPolicy(); void OnPolicyCheckComplete(int rv); -- cgit v1.1