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

Side by Side Diff: chrome/browser/signin/signin_internals_util.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 4 Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/signin/about_signin_internals.h ('k') | chrome/browser/signin/signin_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_INTERNALS_UTIL_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_INTERNALS_UTIL_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_INTERNALS_UTIL_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_INTERNALS_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // "token_info" : 118 // "token_info" :
119 // [ List of {"name": "foo-name", "token" : "foo-token", 119 // [ List of {"name": "foo-name", "token" : "foo-token",
120 // "status": "foo_stat", "time" : "foo_time"} elems] 120 // "status": "foo_stat", "time" : "foo_time"} elems]
121 // } 121 // }
122 scoped_ptr<DictionaryValue> ToValue(); 122 scoped_ptr<DictionaryValue> ToValue();
123 }; 123 };
124 124
125 // An Observer class for authentication and token diagnostic information. 125 // An Observer class for authentication and token diagnostic information.
126 class SigninDiagnosticsObserver { 126 class SigninDiagnosticsObserver {
127 public: 127 public:
128 virtual ~SigninDiagnosticsObserver() {}
129
128 // Credentials and signin related changes. 130 // Credentials and signin related changes.
129 virtual void NotifySigninValueChanged(const UntimedSigninStatusField& field, 131 virtual void NotifySigninValueChanged(const UntimedSigninStatusField& field,
130 const std::string& value) {} 132 const std::string& value) {}
131 virtual void NotifySigninValueChanged(const TimedSigninStatusField& field, 133 virtual void NotifySigninValueChanged(const TimedSigninStatusField& field,
132 const std::string& value) {} 134 const std::string& value) {}
133 135
134 // Tokens and service related changes. 136 // Tokens and service related changes.
135 virtual void NotifyTokenReceivedSuccess(const std::string& token_name, 137 virtual void NotifyTokenReceivedSuccess(const std::string& token_name,
136 const std::string& token, 138 const std::string& token,
137 bool update_time) {} 139 bool update_time) {}
138 virtual void NotifyTokenReceivedFailure(const std::string& token_name, 140 virtual void NotifyTokenReceivedFailure(const std::string& token_name,
139 const std::string& error) {} 141 const std::string& error) {}
140 virtual void NotifyClearStoredToken(const std::string& token_name) {} 142 virtual void NotifyClearStoredToken(const std::string& token_name) {}
141
142 }; 143 };
143 144
144 } // namespace 145 } // namespace
145 146
146 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_INTERNALS_UTIL_H_ 147 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_INTERNALS_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/about_signin_internals.h ('k') | chrome/browser/signin/signin_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698