diff options
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r-- | chrome/browser/browsing_data_remover.cc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc index 96e1543..6d70cc9 100644 --- a/chrome/browser/browsing_data_remover.cc +++ b/chrome/browser/browsing_data_remover.cc @@ -22,16 +22,13 @@ #include "net/url_request/url_request_context.h" #include "webkit/glue/password_form.h" -// Done so that we can use invokeLater on BrowsingDataRemovers and not have +// Done so that we can use PostTask on BrowsingDataRemovers and not have // BrowsingDataRemover implement RefCounted. -template<> -void RunnableMethodTraits<BrowsingDataRemover>::RetainCallee( - BrowsingDataRemover* remover) { -} -template<> -void RunnableMethodTraits<BrowsingDataRemover>::ReleaseCallee( - BrowsingDataRemover* remover) { -} +template <> +struct RunnableMethodTraits<BrowsingDataRemover> { + void RetainCallee(BrowsingDataRemover*) {} + void ReleaseCallee(BrowsingDataRemover*) {} +}; bool BrowsingDataRemover::removing_ = false; |