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

Side by Side Diff: chrome/common/cloud_print/cloud_print_constants.cc

Issue 1212883003: Include user email into document title before spooling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Jul 7 10:19:02 PDT 2015 Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/cloud_print/cloud_print_constants.h" 5 #include "chrome/common/cloud_print/cloud_print_constants.h"
6 6
7 namespace cloud_print { 7 namespace cloud_print {
8 8
9 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy"; 9 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy";
10 const char kChromeCloudPrintProxyHeader[] = "X-CloudPrint-Proxy: Chrome"; 10 const char kChromeCloudPrintProxyHeader[] = "X-CloudPrint-Proxy: Chrome";
(...skipping 24 matching lines...) Expand all
35 35
36 const char kSuccessValue[] = "success"; 36 const char kSuccessValue[] = "success";
37 const char kNameValue[] = "name"; 37 const char kNameValue[] = "name";
38 const char kDisplayNameValue[] = "displayName"; 38 const char kDisplayNameValue[] = "displayName";
39 const char kIdValue[] = "id"; 39 const char kIdValue[] = "id";
40 const char kTicketUrlValue[] = "ticketUrl"; 40 const char kTicketUrlValue[] = "ticketUrl";
41 const char kFileUrlValue[] = "fileUrl"; 41 const char kFileUrlValue[] = "fileUrl";
42 const char kPrinterListValue[] = "printers"; 42 const char kPrinterListValue[] = "printers";
43 const char kJobListValue[] = "jobs"; 43 const char kJobListValue[] = "jobs";
44 const char kTitleValue[] = "title"; 44 const char kTitleValue[] = "title";
45 const char kOwnerValue[] = "ownerId";
45 const char kPrinterCapsHashValue[] = "capsHash"; 46 const char kPrinterCapsHashValue[] = "capsHash";
46 const char kTagsValue[] = "tags"; 47 const char kTagsValue[] = "tags";
47 const char kXMPPJidValue[] = "xmpp_jid"; 48 const char kXMPPJidValue[] = "xmpp_jid";
48 const char kOAuthCodeValue[] = "authorization_code"; 49 const char kOAuthCodeValue[] = "authorization_code";
49 const char kCreateTimeValue[] = "createTime"; 50 const char kCreateTimeValue[] = "createTime";
50 const char kPrinterTypeValue[] = "type"; 51 const char kPrinterTypeValue[] = "type";
51 const char kUserValue[] = "request.user"; 52 const char kUserValue[] = "request.user";
52 const char kUsersValue[] = "request.users"; 53 const char kUsersValue[] = "request.users";
53 const char kLocalSettingsPendingXmppValue[] = 54 const char kLocalSettingsPendingXmppValue[] =
54 "local_settings.pending.xmpp_timeout_value"; 55 "local_settings.pending.xmpp_timeout_value";
(...skipping 14 matching lines...) Expand all
69 const char kJobFetchReasonQueryMore[] = "querymore"; 70 const char kJobFetchReasonQueryMore[] = "querymore";
70 const char kJobFetchReasonFailure[] = "failure"; 71 const char kJobFetchReasonFailure[] = "failure";
71 const char kJobFetchReasonRetry[] = "retry"; 72 const char kJobFetchReasonRetry[] = "retry";
72 73
73 const char kCreateLocalSettingsXmppPingFormat[] = 74 const char kCreateLocalSettingsXmppPingFormat[] =
74 "{\"current\":{\"xmpp_timeout_value\": %d}}"; 75 "{\"current\":{\"xmpp_timeout_value\": %d}}";
75 const char kUpdateLocalSettingsXmppPingFormat[] = 76 const char kUpdateLocalSettingsXmppPingFormat[] =
76 "{\"current\":{\"xmpp_timeout_value\": %d},\"pending\":{}}"; 77 "{\"current\":{\"xmpp_timeout_value\": %d},\"pending\":{}}";
77 78
78 } // namespace cloud_print 79 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/common/cloud_print/cloud_print_constants.h ('k') | chrome/service/cloud_print/printer_job_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698