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

Side by Side Diff: chrome/service/cloud_print/cloud_print_consts.cc

Issue 10968031: Added ConnectorSettings class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // Constant defines used in the cloud print proxy code 5 // Constant defines used in the cloud print proxy code
6 6
7 #include "chrome/service/cloud_print/cloud_print_consts.h" 7 #include "chrome/service/cloud_print/cloud_print_consts.h"
8 8
9 const char kProxyIdValue[] = "proxy"; 9 const char kProxyIdValue[] = "proxy";
10 const char kPrinterNameValue[] = "printer"; 10 const char kPrinterNameValue[] = "printer";
(...skipping 14 matching lines...) Expand all
25 const char kTitleValue[] = "title"; 25 const char kTitleValue[] = "title";
26 const char kPrinterCapsHashValue[] = "capsHash"; 26 const char kPrinterCapsHashValue[] = "capsHash";
27 const char kTagsValue[] = "tags"; 27 const char kTagsValue[] = "tags";
28 const char kXMPPJidValue[] = "xmpp_jid"; 28 const char kXMPPJidValue[] = "xmpp_jid";
29 const char kOAuthCodeValue[] = "authorization_code"; 29 const char kOAuthCodeValue[] = "authorization_code";
30 30
31 const char kProxyTagPrefix[] = "__cp__"; 31 const char kProxyTagPrefix[] = "__cp__";
32 const char kTagsHashTagName[] = "__cp__tagshash"; 32 const char kTagsHashTagName[] = "__cp__tagshash";
33 const char kTagDryRunFlag[] = "__cp__dry_run"; 33 const char kTagDryRunFlag[] = "__cp__dry_run";
34 34
35 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint";
36 const char kCloudPrintGaiaServiceId[] = "cloudprint"; 35 const char kCloudPrintGaiaServiceId[] = "cloudprint";
37 const char kProxyAuthUserAgent[] = "ChromiumBrowser"; 36 const char kProxyAuthUserAgent[] = "ChromiumBrowser";
38 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com"; 37 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com";
39 38
40 // The string to be appended to the user-agent for cloudprint requests. 39 // The string to be appended to the user-agent for cloudprint requests.
41 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy"; 40 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy";
42 41
43 // Reasons for fetching print jobs. 42 // Reasons for fetching print jobs.
44 // Job fetch on proxy startup. 43 // Job fetch on proxy startup.
45 const char kJobFetchReasonStartup[] = "startup"; 44 const char kJobFetchReasonStartup[] = "startup";
46 // Job fetch because we are polling. 45 // Job fetch because we are polling.
47 const char kJobFetchReasonPoll[] = "poll"; 46 const char kJobFetchReasonPoll[] = "poll";
48 // Job fetch on being notified by the server. 47 // Job fetch on being notified by the server.
49 const char kJobFetchReasonNotified[] = "notified"; 48 const char kJobFetchReasonNotified[] = "notified";
50 // Job fetch after a successful print to query for more jobs. 49 // Job fetch after a successful print to query for more jobs.
51 const char kJobFetchReasonQueryMore[] = "querymore"; 50 const char kJobFetchReasonQueryMore[] = "querymore";
52 51
53 // Short message ids for diagnostic messages sent to the server. 52 // Short message ids for diagnostic messages sent to the server.
54 const char kPrintSystemFailedMessageId[] = "printsystemfail"; 53 const char kPrintSystemFailedMessageId[] = "printsystemfail";
55 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail"; 54 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail";
56 const char kEnumPrintersFailedMessageId[] = "enumfail"; 55 const char kEnumPrintersFailedMessageId[] = "enumfail";
57 const char kZombiePrinterMessageId[] = "zombieprinter"; 56 const char kZombiePrinterMessageId[] = "zombieprinter";
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_consts.h ('k') | chrome/service/cloud_print/cloud_print_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698