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

Side by Side Diff: google_apis/drive/auth_service_observer.h

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 | « google_apis/drive/auth_service_interface.h ('k') | google_apis/drive/base_requests.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_GOOGLE_APIS_AUTH_SERVICE_OBSERVER_H_ 5 #ifndef GOOGLE_APIS_DRIVE_AUTH_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_AUTH_SERVICE_OBSERVER_H_ 6 #define GOOGLE_APIS_DRIVE_AUTH_SERVICE_OBSERVER_H_
7 7
8 namespace google_apis { 8 namespace google_apis {
9 9
10 // Interface for classes that need to observe events from AuthService. 10 // Interface for classes that need to observe events from AuthService.
11 // All events are notified on UI thread. 11 // All events are notified on UI thread.
12 class AuthServiceObserver { 12 class AuthServiceObserver {
13 public: 13 public:
14 // Triggered when a new OAuth2 refresh token is received from AuthService. 14 // Triggered when a new OAuth2 refresh token is received from AuthService.
15 virtual void OnOAuth2RefreshTokenChanged() = 0; 15 virtual void OnOAuth2RefreshTokenChanged() = 0;
16 16
17 protected: 17 protected:
18 virtual ~AuthServiceObserver() {} 18 virtual ~AuthServiceObserver() {}
19 }; 19 };
20 20
21 } // namespace google_apis 21 } // namespace google_apis
22 22
23 #endif // CHROME_BROWSER_GOOGLE_APIS_AUTH_SERVICE_OBSERVER_H_ 23 #endif // GOOGLE_APIS_DRIVE_AUTH_SERVICE_OBSERVER_H_
OLDNEW
« no previous file with comments | « google_apis/drive/auth_service_interface.h ('k') | google_apis/drive/base_requests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698