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

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

Issue 10916301: drive: Stop exposing operation_registry() from DriveServiceInterface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix broken RemoteFileSystemExtensionApiTest 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.cc
diff --git a/chrome/browser/chromeos/gdata/mock_drive_service.cc b/chrome/browser/chromeos/gdata/mock_drive_service.cc
index 69bac425a69aaa01d2fd1154a74c6feab189f7d8..822d2292c6aeadc3f26b9a97a61d7147e479641e 100644
--- a/chrome/browser/chromeos/gdata/mock_drive_service.cc
+++ b/chrome/browser/chromeos/gdata/mock_drive_service.cc
@@ -18,10 +18,13 @@
using ::testing::_;
using ::testing::Invoke;
+using ::testing::Return;
namespace gdata {
MockDriveService::MockDriveService() {
+ ON_CALL(*this, GetProgressStatusList())
+ .WillByDefault(Return(OperationProgressStatusList()));
ON_CALL(*this, Authenticate(_))
.WillByDefault(Invoke(this, &MockDriveService::AuthenticateStub));
ON_CALL(*this, GetDocuments(_, _, _, _, _))
« no previous file with comments | « chrome/browser/chromeos/gdata/mock_drive_service.h ('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