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

Unified Diff: chrome/browser/history/top_sites_extension_api.h

Issue 10071032: RefCounted types should not have public destructors, chrome/browser/ part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/history/top_sites_extension_api.h
diff --git a/chrome/browser/history/top_sites_extension_api.h b/chrome/browser/history/top_sites_extension_api.h
index b07a97d5c727598bf34e5af5b300f9587aa9b3b7..688c2ae3dadfef3e81c65c7f2b7984c94a4dacf6 100644
--- a/chrome/browser/history/top_sites_extension_api.h
+++ b/chrome/browser/history/top_sites_extension_api.h
@@ -13,11 +13,14 @@
class GetTopSitesFunction : public AsyncExtensionFunction {
public:
GetTopSitesFunction();
- virtual ~GetTopSitesFunction();
+
+ protected:
virtual bool RunImpl() OVERRIDE;
DECLARE_EXTENSION_FUNCTION_NAME("topSites.get")
private:
+ virtual ~GetTopSitesFunction();
+
void OnMostVisitedURLsAvailable(
const history::MostVisitedURLList& data);

Powered by Google App Engine
This is Rietveld 408576698