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

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

Issue 10398051: [Sync] Replace TalkMediator*/MediatorThread* with PushClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, fix test Created 8 years, 7 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 16 matching lines...) Expand all
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"; 35 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint";
36 const char kCloudPrintGaiaServiceId[] = "cloudprint"; 36 const char kCloudPrintGaiaServiceId[] = "cloudprint";
37 const char kSyncGaiaServiceId[] = "chromiumsync";
38 const char kProxyAuthUserAgent[] = "ChromiumBrowser"; 37 const char kProxyAuthUserAgent[] = "ChromiumBrowser";
39 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com"; 38 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com";
40 39
41 // The string to be appended to the user-agent for cloudprint requests. 40 // The string to be appended to the user-agent for cloudprint requests.
42 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy"; 41 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy";
43 42
44 // Reasons for fetching print jobs. 43 // Reasons for fetching print jobs.
45 // Job fetch on proxy startup. 44 // Job fetch on proxy startup.
46 const char kJobFetchReasonStartup[] = "startup"; 45 const char kJobFetchReasonStartup[] = "startup";
47 // Job fetch because we are polling. 46 // Job fetch because we are polling.
48 const char kJobFetchReasonPoll[] = "poll"; 47 const char kJobFetchReasonPoll[] = "poll";
49 // Job fetch on being notified by the server. 48 // Job fetch on being notified by the server.
50 const char kJobFetchReasonNotified[] = "notified"; 49 const char kJobFetchReasonNotified[] = "notified";
51 // Job fetch after a successful print to query for more jobs. 50 // Job fetch after a successful print to query for more jobs.
52 const char kJobFetchReasonQueryMore[] = "querymore"; 51 const char kJobFetchReasonQueryMore[] = "querymore";
53 52
54 // Short message ids for diagnostic messages sent to the server. 53 // Short message ids for diagnostic messages sent to the server.
55 const char kPrintSystemFailedMessageId[] = "printsystemfail"; 54 const char kPrintSystemFailedMessageId[] = "printsystemfail";
56 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail"; 55 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail";
57 const char kEnumPrintersFailedMessageId[] = "enumfail"; 56 const char kEnumPrintersFailedMessageId[] = "enumfail";
58 57
59 const char kDefaultCloudPrintOAuthClientId[] = 58 const char kDefaultCloudPrintOAuthClientId[] =
60 "551556820943.apps.googleusercontent.com"; 59 "551556820943.apps.googleusercontent.com";
61 const char kDefaultCloudPrintOAuthClientSecret[] = "u3/mp8CgLFxh4uiX1855/MHe"; 60 const char kDefaultCloudPrintOAuthClientSecret[] = "u3/mp8CgLFxh4uiX1855/MHe";
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_consts.h ('k') | chrome/service/cloud_print/cloud_print_proxy_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698