| Index: chrome/browser/local_discovery/privet_http_impl.cc
|
| diff --git a/chrome/browser/local_discovery/privet_http_impl.cc b/chrome/browser/local_discovery/privet_http_impl.cc
|
| index 8cef172d13b1a0728814a98cda95557f5d8b1301..8dd6c3dd7747de0235e7d14085f7e6876ae47b67 100644
|
| --- a/chrome/browser/local_discovery/privet_http_impl.cc
|
| +++ b/chrome/browser/local_discovery/privet_http_impl.cc
|
| @@ -23,10 +23,12 @@ const char kUrlPlaceHolder[] = "http://host/";
|
| const char kPrivetRegisterActionArgName[] = "action";
|
| const char kPrivetRegisterUserArgName[] = "user";
|
|
|
| -const char kPrivetURLKeyUser[] = "user";
|
| -const char kPrivetURLKeyJobname[] = "jobname";
|
| +const char kPrivetURLKeyUserName[] = "user_name";
|
| +const char kPrivetURLKeyClientName[] = "client_name";
|
| +const char kPrivetURLKeyJobname[] = "job_name";
|
| const char kPrivetURLKeyOffline[] = "offline";
|
| const char kPrivetURLValueOffline[] = "1";
|
| +const char kPrivetURLValueClientName[] = "Chrome";
|
|
|
| const char kPrivetContentTypePDF[] = "application/pdf";
|
| const char kPrivetContentTypePWGRaster[] = "image/pwg-raster";
|
| @@ -478,9 +480,13 @@ void PrivetLocalPrintOperationImpl::DoSubmitdoc() {
|
|
|
| GURL url = CreatePrivetURL(kPrivetSubmitdocPath);
|
|
|
| + url = net::AppendQueryParameter(url,
|
| + kPrivetURLKeyClientName,
|
| + kPrivetURLValueClientName);
|
| +
|
| if (!user_.empty()) {
|
| url = net::AppendQueryParameter(url,
|
| - kPrivetURLKeyUser,
|
| + kPrivetURLKeyUserName,
|
| user_);
|
| }
|
|
|
|
|