OLD | NEW |
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 const std::string& value) {} | 132 const std::string& value) {} |
133 | 133 |
134 // Tokens and service related changes. | 134 // Tokens and service related changes. |
135 virtual void NotifyTokenReceivedSuccess(const std::string& token_name, | 135 virtual void NotifyTokenReceivedSuccess(const std::string& token_name, |
136 const std::string& token, | 136 const std::string& token, |
137 bool update_time) {} | 137 bool update_time) {} |
138 virtual void NotifyTokenReceivedFailure(const std::string& token_name, | 138 virtual void NotifyTokenReceivedFailure(const std::string& token_name, |
139 const std::string& error) {} | 139 const std::string& error) {} |
140 virtual void NotifyClearStoredToken(const std::string& token_name) {} | 140 virtual void NotifyClearStoredToken(const std::string& token_name) {} |
141 | 141 |
| 142 protected: |
| 143 virtual ~SigninDiagnosticsObserver() {} |
142 }; | 144 }; |
143 | 145 |
144 } // namespace | 146 } // namespace |
145 | 147 |
146 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_INTERNALS_UTIL_H_ | 148 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_INTERNALS_UTIL_H_ |
OLD | NEW |