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

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

Issue 10827068: gdata: Fix "save as pdf" to work on Google Drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add mock method. Created 8 years, 5 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_gdata_file_system.h
diff --git a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
index 321bb4d30f538007e0d9e29713c9ad4ab74c93c4..13307c4d3ef148a0900832bb5c7d44238160ebd5 100644
--- a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
@@ -42,6 +42,9 @@ class MockGDataFileSystem : public GDataFileSystemInterface {
const OpenFileCallback& callback));
MOCK_METHOD2(CloseFile, void(const FilePath& file_path,
const FileOperationCallback& callback));
+ MOCK_METHOD2(PrepareWritableFileAndRun,
+ void(const FilePath& file_path,
+ const OpenFileCallback& callback));
MOCK_METHOD3(Copy, void(const FilePath& src_file_path,
const FilePath& dest_file_path,
const FileOperationCallback& callback));

Powered by Google App Engine
This is Rietveld 408576698