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

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

Issue 59033010: Initial support for /privet/printer/createjob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « no previous file | 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 c0927bcc48b4eb230d7d1218d4915866b3f55796..d86ed92e3c8399cca8e02e76f2a147d31faafda2 100644
--- a/chrome/browser/local_discovery/privet_http_impl.h
+++ b/chrome/browser/local_discovery/privet_http_impl.h
@@ -183,20 +183,18 @@ class PrivetLocalPrintOperationImpl
typedef base::Callback<void(const base::DictionaryValue* value)>
ResponseCallback;
- void StartCurrentRequest();
-
void StartInitialRequest();
void GetCapabilities();
- // TODO(noamsml): void DoCreatejob();
+ void DoCreatejob();
void DoSubmitdoc();
- void OnCapabilities(const base::DictionaryValue* value);
+ void OnCapabilitiesResponse(const base::DictionaryValue* value);
void OnSubmitdocResponse(const base::DictionaryValue* value);
+ void OnCreatejobResponse(const base::DictionaryValue* value);
PrivetHTTPClientImpl* privet_client_;
PrivetLocalPrintOperation::Delegate* delegate_;
- base::Closure current_request_;
ResponseCallback current_response_;
std::string ticket_;
@@ -211,6 +209,8 @@ class PrivetLocalPrintOperationImpl
std::string user_;
std::string jobname_;
+ std::string jobid_;
+
scoped_ptr<PrivetURLFetcher> url_fetcher_;
scoped_ptr<PrivetInfoOperation> info_operation_;
};
« no previous file with comments | « no previous file | chrome/browser/local_discovery/privet_http_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698