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

Unified Diff: chrome/browser/chromeos/gdata/mock_drive_service.h

Issue 10939011: Reland "Revert 156830 - drive: Stop exposing operation_registry() from DriveServiceInterface" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/mock_drive_service.h
diff --git a/chrome/browser/chromeos/gdata/mock_drive_service.h b/chrome/browser/chromeos/gdata/mock_drive_service.h
index 276e7e07cbc0d10f71eba6cd7a9c9584d3db761a..cfd7129ae5a1c7e8090c2b62cfbe7aeec0a41062 100644
--- a/chrome/browser/chromeos/gdata/mock_drive_service.h
+++ b/chrome/browser/chromeos/gdata/mock_drive_service.h
@@ -27,9 +27,10 @@ class MockDriveService : public DriveServiceInterface {
MOCK_METHOD1(Initialize, void(Profile* profile));
MOCK_METHOD1(AddObserver, void(DriveServiceObserver* observer));
MOCK_METHOD1(RemoveObserver, void(DriveServiceObserver* observer));
- MOCK_CONST_METHOD0(operation_registry, OperationRegistry*());
MOCK_CONST_METHOD0(CanStartOperation, bool());
MOCK_METHOD0(CancelAll, void(void));
+ MOCK_METHOD1(CancelForFilePath, bool(const FilePath& file_path));
+ MOCK_CONST_METHOD0(GetProgressStatusList, OperationProgressStatusList());
MOCK_METHOD1(Authenticate, void(const AuthStatusCallback& callback));
MOCK_METHOD5(GetDocuments, void(const GURL& feed_url,
int64 start_changestamp,
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_wapi_service.cc ('k') | chrome/browser/chromeos/system/ash_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698