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

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

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 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
« no previous file with comments | « chrome/browser/extensions/webstore_installer.h ('k') | chrome/browser/nacl_host/nacl_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.h
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index adfa4be61d95d6eb718607a7fc767ddab27bf70f..45e312536a04a2698cbcaa679b944cffc4b1b890 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -253,8 +253,6 @@ class HistoryService : public CancelableRequestProvider,
// should handle this appropriately.
class URLEnumerator {
public:
- virtual ~URLEnumerator() {}
-
// Indicates that a URL is available. There will be exactly one call for
// every URL in history.
virtual void OnURL(const GURL& url) = 0;
@@ -263,6 +261,9 @@ class HistoryService : public CancelableRequestProvider,
// more callbacks made. This call is guaranteed to occur, even if there are
// no URLs. If all URLs were iterated, success will be true.
virtual void OnComplete(bool success) = 0;
+
+ protected:
+ virtual ~URLEnumerator() {}
};
// Enumerate all URLs in history. The given iterator will be owned by the
« no previous file with comments | « chrome/browser/extensions/webstore_installer.h ('k') | chrome/browser/nacl_host/nacl_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698