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

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

Issue 10274002: Add gdata content search (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix renaming Created 8 years, 8 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/gdata_documents_service.h
diff --git a/chrome/browser/chromeos/gdata/gdata_documents_service.h b/chrome/browser/chromeos/gdata/gdata_documents_service.h
index 19407d8aeb4e917fffd144301a60a72cdab3bff8..e85f1e6176fd25f0aba7c5a8d79b63326a52c150 100644
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.h
@@ -75,9 +75,12 @@ class DocumentsServiceInterface {
// URL is empty, the call will fetch the default root or change document feed.
// |start_changestamp| specifies the starting point from change feeds only.
// Value different than 0, it would trigger delta feed fetching.
+ // |search_query| specifies search query to be sent to the server. It will be
+ // used only if |start_changestamp| is 0.
satorux1 2012/05/03 17:58:34 If we don't want to search, can we just pass an em
tbarzic 2012/05/03 23:56:17 Done.
// Upon completion, invokes |callback| with results on the calling thread.
virtual void GetDocuments(const GURL& feed_url,
int start_changestamp,
+ const std::string& search_query,
const GetDataCallback& callback) = 0;
// Gets the account metadata from the server using the default account
@@ -178,6 +181,7 @@ class DocumentsService
virtual void Authenticate(const AuthStatusCallback& callback) OVERRIDE;
virtual void GetDocuments(const GURL& feed_url,
int start_changestamp,
+ const std::string& search_query,
const GetDataCallback& callback) OVERRIDE;
virtual void GetAccountMetadata(const GetDataCallback& callback) OVERRIDE;
virtual void DeleteDocument(const GURL& document_url,

Powered by Google App Engine
This is Rietveld 408576698