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

Unified Diff: chrome/browser/google_apis/fake_drive_service.h

Issue 12210031: Implement fake drive service upload methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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/google_apis/fake_drive_service.h
diff --git a/chrome/browser/google_apis/fake_drive_service.h b/chrome/browser/google_apis/fake_drive_service.h
index cd9a00bf7903c5f3c97ece04abfc146bc8ad85e2..1c91e199212ce3b62f757164d940d75b099d430c 100644
--- a/chrome/browser/google_apis/fake_drive_service.h
+++ b/chrome/browser/google_apis/fake_drive_service.h
@@ -136,6 +136,10 @@ class FakeDriveService : public DriveServiceInterface {
// not found.
base::DictionaryValue* FindEntryByContentUrl(const GURL& content_url);
+ // Returns a pointer to the entry that matches |upload_url|, or NULL if
+ // not found.
+ base::DictionaryValue* FindEntryByUploadUrl(const GURL& upload_url);
+
// Returns a new resource ID, which looks like "resource_id_<num>" where
// <num> is a monotonically increasing number starting from 1.
std::string GetNewResourceId();
« no previous file with comments | « no previous file | chrome/browser/google_apis/fake_drive_service.cc » ('j') | chrome/browser/google_apis/fake_drive_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698