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

Side by Side Diff: chrome/browser/drive/gdata_wapi_service.h

Issue 17385023: Get rid of RequestRegistry (part 2): remove cancellation methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused methods in RequestRegisty Created 7 years, 6 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/drive/fake_drive_service.cc ('k') | chrome/browser/drive/gdata_wapi_service.cc » ('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_DRIVE_GDATA_WAPI_SERVICE_H_ 5 #ifndef CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_
6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_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"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const std::string& custom_user_agent); 46 const std::string& custom_user_agent);
47 virtual ~GDataWapiService(); 47 virtual ~GDataWapiService();
48 48
49 AuthService* auth_service_for_testing(); 49 AuthService* auth_service_for_testing();
50 50
51 // DriveServiceInterface Overrides 51 // DriveServiceInterface Overrides
52 virtual void Initialize(Profile* profile) OVERRIDE; 52 virtual void Initialize(Profile* profile) OVERRIDE;
53 virtual void AddObserver(DriveServiceObserver* observer) OVERRIDE; 53 virtual void AddObserver(DriveServiceObserver* observer) OVERRIDE;
54 virtual void RemoveObserver(DriveServiceObserver* observer) OVERRIDE; 54 virtual void RemoveObserver(DriveServiceObserver* observer) OVERRIDE;
55 virtual bool CanSendRequest() const OVERRIDE; 55 virtual bool CanSendRequest() const OVERRIDE;
56 virtual void CancelAll() OVERRIDE;
57 virtual bool CancelForFilePath(const base::FilePath& file_path) OVERRIDE;
58 virtual std::string CanonicalizeResourceId( 56 virtual std::string CanonicalizeResourceId(
59 const std::string& resource_id) const OVERRIDE; 57 const std::string& resource_id) const OVERRIDE;
60 virtual bool HasAccessToken() const OVERRIDE; 58 virtual bool HasAccessToken() const OVERRIDE;
61 virtual bool HasRefreshToken() const OVERRIDE; 59 virtual bool HasRefreshToken() const OVERRIDE;
62 virtual void ClearAccessToken() OVERRIDE; 60 virtual void ClearAccessToken() OVERRIDE;
63 virtual void ClearRefreshToken() OVERRIDE; 61 virtual void ClearRefreshToken() OVERRIDE;
64 virtual std::string GetRootResourceId() const OVERRIDE; 62 virtual std::string GetRootResourceId() const OVERRIDE;
65 virtual CancelCallback GetAllResourceList( 63 virtual CancelCallback GetAllResourceList(
66 const GetResourceListCallback& callback) OVERRIDE; 64 const GetResourceListCallback& callback) OVERRIDE;
67 virtual CancelCallback GetResourceListInDirectory( 65 virtual CancelCallback GetResourceListInDirectory(
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // reference, as they may outlive this object. 171 // reference, as they may outlive this object.
174 const GDataWapiUrlGenerator url_generator_; 172 const GDataWapiUrlGenerator url_generator_;
175 const std::string custom_user_agent_; 173 const std::string custom_user_agent_;
176 174
177 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); 175 DISALLOW_COPY_AND_ASSIGN(GDataWapiService);
178 }; 176 };
179 177
180 } // namespace google_apis 178 } // namespace google_apis
181 179
182 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 180 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | chrome/browser/drive/gdata_wapi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698