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

Unified Diff: chrome/service/gaia/service_gaia_authenticator.h

Issue 10065040: RefCounted types should not have public destructors, chrome/ remaining parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation fixes 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/service/gaia/service_gaia_authenticator.h
diff --git a/chrome/service/gaia/service_gaia_authenticator.h b/chrome/service/gaia/service_gaia_authenticator.h
index 142e322b8af76f34d001bb1045b53e88ac6261f2..bb3fb5fea3e293c789a34d913c77001b68bb0dc7 100644
--- a/chrome/service/gaia/service_gaia_authenticator.h
+++ b/chrome/service/gaia/service_gaia_authenticator.h
@@ -29,7 +29,6 @@ class ServiceGaiaAuthenticator
const std::string& service_id,
const std::string& gaia_url,
base::MessageLoopProxy* io_message_loop_proxy);
- virtual ~ServiceGaiaAuthenticator();
// content::URLFetcherDelegate implementation.
virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
@@ -43,6 +42,9 @@ class ServiceGaiaAuthenticator
virtual int GetBackoffDelaySeconds(int current_backoff_delay) OVERRIDE;
private:
+ friend class base::RefCountedThreadSafe<ServiceGaiaAuthenticator>;
+ virtual ~ServiceGaiaAuthenticator();
+
void DoPost(const GURL& post_url, const std::string& post_body);
base::WaitableEvent http_post_completed_;

Powered by Google App Engine
This is Rietveld 408576698