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

Unified Diff: chrome/browser/local_discovery/privet_http_impl.h

Issue 138983002: Added privet storage list operation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/local_discovery/privet_http.h ('k') | chrome/browser/local_discovery/privet_http_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/privet_http_impl.h
diff --git a/chrome/browser/local_discovery/privet_http_impl.h b/chrome/browser/local_discovery/privet_http_impl.h
index b41be245bc74ebeefed0bc9218042b0828a465af..5c720e2f4b443ac2f5d2971f76f2215c19533d3b 100644
--- a/chrome/browser/local_discovery/privet_http_impl.h
+++ b/chrome/browser/local_discovery/privet_http_impl.h
@@ -121,6 +121,7 @@ class PrivetJSONOperationImpl : public PrivetJSONOperation,
PrivetJSONOperationImpl(
PrivetHTTPClientImpl* privet_client,
const std::string& path,
+ const std::string& query_params,
const PrivetJSONOperation::ResultCallback& callback);
virtual ~PrivetJSONOperationImpl();
virtual void Start() OVERRIDE;
@@ -139,6 +140,7 @@ class PrivetJSONOperationImpl : public PrivetJSONOperation,
private:
PrivetHTTPClientImpl* privet_client_;
std::string path_;
+ std::string query_params_;
PrivetJSONOperation::ResultCallback callback_;
scoped_ptr<PrivetURLFetcher> url_fetcher_;
@@ -256,6 +258,10 @@ class PrivetHTTPClientImpl : public PrivetHTTPClient {
virtual scoped_ptr<PrivetLocalPrintOperation> CreateLocalPrintOperation(
PrivetLocalPrintOperation::Delegate* delegate) OVERRIDE;
+ virtual scoped_ptr<PrivetJSONOperation> CreateStorageListOperation(
+ const std::string& path,
+ const PrivetJSONOperation::ResultCallback& callback) OVERRIDE;
+
virtual const std::string& GetName() OVERRIDE;
scoped_ptr<PrivetURLFetcher> CreateURLFetcher(
« no previous file with comments | « chrome/browser/local_discovery/privet_http.h ('k') | chrome/browser/local_discovery/privet_http_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698