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

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

Issue 10383248: gdata: Add ability to fetch documents in a particular directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix the build Created 8 years, 7 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
« no previous file with comments | « chrome/browser/chromeos/gdata/mock_gdata_documents_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/mock_gdata_documents_service.cc
diff --git a/chrome/browser/chromeos/gdata/mock_gdata_documents_service.cc b/chrome/browser/chromeos/gdata/mock_gdata_documents_service.cc
index e63c1e702b09952dfd69cf0ac562c4c425e59c85..4879da35b40a772fd2a7cb311243c04881123853 100644
--- a/chrome/browser/chromeos/gdata/mock_gdata_documents_service.cc
+++ b/chrome/browser/chromeos/gdata/mock_gdata_documents_service.cc
@@ -44,7 +44,7 @@ static Value* LoadJSONFile(const std::string& filename) {
MockDocumentsService::MockDocumentsService() {
ON_CALL(*this, Authenticate(_))
.WillByDefault(Invoke(this, &MockDocumentsService::AuthenticateStub));
- ON_CALL(*this, GetDocuments(_, _, _, _))
+ ON_CALL(*this, GetDocuments(_, _, _, _, _))
.WillByDefault(Invoke(this, &MockDocumentsService::GetDocumentsStub));
ON_CALL(*this, GetAccountMetadata(_))
.WillByDefault(Invoke(this,
@@ -88,6 +88,7 @@ void MockDocumentsService::GetDocumentsStub(
const GURL& feed_url,
int start_changestamp,
const std::string& search_string,
+ const std::string& directory_resource_id,
const GetDataCallback& callback) {
if (search_string.empty()) {
base::MessageLoopProxy::current()->PostTask(
« no previous file with comments | « chrome/browser/chromeos/gdata/mock_gdata_documents_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698