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

Side by Side Diff: google_apis/drive/auth_service_interface.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.cc ('k') | google_apis/drive/auth_service_observer.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_INTERFACE_H_ 5 #ifndef GOOGLE_APIS_DRIVE_AUTH_SERVICE_INTERFACE_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_AUTH_SERVICE_INTERFACE_H_ 6 #define GOOGLE_APIS_DRIVE_AUTH_SERVICE_INTERFACE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "chrome/browser/google_apis/gdata_errorcode.h" 11 #include "google_apis/drive/gdata_errorcode.h"
12 12
13 namespace google_apis { 13 namespace google_apis {
14 14
15 class AuthServiceObserver; 15 class AuthServiceObserver;
16 16
17 // Called when fetching of access token is complete. 17 // Called when fetching of access token is complete.
18 typedef base::Callback<void(GDataErrorCode error, 18 typedef base::Callback<void(GDataErrorCode error,
19 const std::string& access_token)> 19 const std::string& access_token)>
20 AuthStatusCallback; 20 AuthStatusCallback;
21 21
(...skipping 26 matching lines...) Expand all
48 48
49 // Clears OAuth2 access token. 49 // Clears OAuth2 access token.
50 virtual void ClearAccessToken() = 0; 50 virtual void ClearAccessToken() = 0;
51 51
52 // Clears OAuth2 refresh token. 52 // Clears OAuth2 refresh token.
53 virtual void ClearRefreshToken() = 0; 53 virtual void ClearRefreshToken() = 0;
54 }; 54 };
55 55
56 } // namespace google_apis 56 } // namespace google_apis
57 57
58 #endif // CHROME_BROWSER_GOOGLE_APIS_AUTH_SERVICE_INTERFACE_H_ 58 #endif // GOOGLE_APIS_DRIVE_AUTH_SERVICE_INTERFACE_H_
OLDNEW
« no previous file with comments | « google_apis/drive/auth_service.cc ('k') | google_apis/drive/auth_service_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698