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

Side by Side Diff: chrome/browser/chromeos/gdata/drive_api_service.h

Issue 10874028: Rename GDataFileSystem* to DriveFileSystem* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remaining manual changes Created 8 years, 4 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
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_CHROMEOS_GDATA_DRIVE_API_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/chromeos/gdata/auth_service.h" 12 #include "chrome/browser/chromeos/gdata/auth_service.h"
13 #include "chrome/browser/chromeos/gdata/drive_service_interface.h" 13 #include "chrome/browser/chromeos/gdata/drive_service_interface.h"
14 #include "chrome/browser/chromeos/gdata/gdata_operations.h" 14 #include "chrome/browser/chromeos/gdata/gdata_operations.h"
15 15
16 class FilePath; 16 class FilePath;
17 class GURL; 17 class GURL;
18 class Profile; 18 class Profile;
19 19
20 namespace gdata { 20 namespace gdata {
21 21
22 class OperationRunner; 22 class OperationRunner;
23 23
24 // This class provides documents feed service calls for Drive V2 API. 24 // This class provides documents feed service calls for Drive V2 API.
25 // Details of API call are abstracted in each operation class and this class 25 // Details of API call are abstracted in each operation class and this class
26 // works as a thin wrapper for the API. 26 // works as a thin wrapper for the API.
27 class DriveAPIService : public DriveServiceInterface { 27 class DriveAPIService : public DriveServiceInterface {
28 public: 28 public:
29 // Instance is usually created by GDataSystemServiceFactory and owned by 29 // Instance is usually created by GDataSystemServiceFactory and owned by
30 // GDataFileSystem. 30 // DriveFileSystem.
31 DriveAPIService(); 31 DriveAPIService();
32 virtual ~DriveAPIService(); 32 virtual ~DriveAPIService();
33 33
34 // DriveServiceInterface Overrides 34 // DriveServiceInterface Overrides
35 virtual void Initialize(Profile* profile) OVERRIDE; 35 virtual void Initialize(Profile* profile) OVERRIDE;
36 virtual OperationRegistry* operation_registry() const OVERRIDE; 36 virtual OperationRegistry* operation_registry() const OVERRIDE;
37 virtual void CancelAll() OVERRIDE; 37 virtual void CancelAll() OVERRIDE;
38 virtual void Authenticate(const AuthStatusCallback& callback) OVERRIDE; 38 virtual void Authenticate(const AuthStatusCallback& callback) OVERRIDE;
39 virtual bool HasAccessToken() const OVERRIDE; 39 virtual bool HasAccessToken() const OVERRIDE;
40 virtual bool HasRefreshToken() const OVERRIDE; 40 virtual bool HasRefreshToken() const OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 Profile* profile_; 111 Profile* profile_;
112 scoped_ptr<OperationRunner> runner_; 112 scoped_ptr<OperationRunner> runner_;
113 113
114 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); 114 DISALLOW_COPY_AND_ASSIGN(DriveAPIService);
115 }; 115 };
116 116
117 } // namespace gdata 117 } // namespace gdata
118 118
119 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_SERVICE_H_ 119 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698