diff options
author | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 00:19:19 +0000 |
---|---|---|
committer | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 00:19:19 +0000 |
commit | f91311849d54367720566391e17802d2437125a5 (patch) | |
tree | 2d70bcd14e2148f520212c6fc01a0a00969695da /chrome/service/cloud_print/cloud_print_consts.cc | |
parent | 94964a88877dcf74bf5aec5f600eded2793b9a5f (diff) | |
download | chromium_src-f91311849d54367720566391e17802d2437125a5.zip chromium_src-f91311849d54367720566391e17802d2437125a5.tar.gz chromium_src-f91311849d54367720566391e17802d2437125a5.tar.bz2 |
HTTP requests from the service process now use a non-empty user agent. Also appended a cloud-print specific string for cloud print requests.
BUG=None
TEST=Test user-agent string in Cloud Print proxy requests.
Review URL: http://codereview.chromium.org/4176009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/cloud_print/cloud_print_consts.cc')
-rw-r--r-- | chrome/service/cloud_print/cloud_print_consts.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/service/cloud_print/cloud_print_consts.cc b/chrome/service/cloud_print/cloud_print_consts.cc index 6272a6d..a5f1566 100644 --- a/chrome/service/cloud_print/cloud_print_consts.cc +++ b/chrome/service/cloud_print/cloud_print_consts.cc @@ -43,3 +43,5 @@ const char kChromeCloudPrintProxyHeader[] = "X-Google-CloudPrint-Proxy: Chrome"; // are just string keys. const char kCloudPrintAPIRetryPolicy[] = "cloudprint.google.com/api"; const char kJobDataRetryPolicy[] = "cloudprint.google.com/jobdata"; +// The string to be appended to the user-agent for cloudprint requests. +const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy"; |