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

Unified Diff: chrome/browser/chromeos/login/authenticator.h

Issue 10386206: RefCounted types should not have public destructors, chromeos edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r143931 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/chromeos/locale_change_guard.cc ('k') | chrome/browser/chromeos/login/authenticator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/authenticator.h
diff --git a/chrome/browser/chromeos/login/authenticator.h b/chrome/browser/chromeos/login/authenticator.h
index 88fd043233cc7e9a9fb844c69787802373667c0e..e05f162c870852b14833d4b4469eee39fe1c7b25 100644
--- a/chrome/browser/chromeos/login/authenticator.h
+++ b/chrome/browser/chromeos/login/authenticator.h
@@ -26,7 +26,6 @@ namespace chromeos {
class Authenticator : public base::RefCountedThreadSafe<Authenticator> {
public:
explicit Authenticator(LoginStatusConsumer* consumer);
- virtual ~Authenticator();
// Given externally authenticated |username| and |password|, this method
// attempts to complete authentication process.
@@ -93,10 +92,14 @@ class Authenticator : public base::RefCountedThreadSafe<Authenticator> {
Profile* authentication_profile() { return authentication_profile_; }
protected:
+ virtual ~Authenticator();
+
LoginStatusConsumer* consumer_;
Profile* authentication_profile_;
private:
+ friend class base::RefCountedThreadSafe<Authenticator>;
+
DISALLOW_COPY_AND_ASSIGN(Authenticator);
};
« no previous file with comments | « chrome/browser/chromeos/locale_change_guard.cc ('k') | chrome/browser/chromeos/login/authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698