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

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

Issue 3117017: Remove deprecated wstring Get(As)String() methods from Value, etc. (Closed)
Patch Set: fix win Created 10 years, 4 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 // Constant defines used in the cloud print proxy code 11 // Constant defines used in the cloud print proxy code
12 extern const char kProxyIdValue[]; 12 extern const char kProxyIdValue[];
13 extern const char kPrinterNameValue[]; 13 extern const char kPrinterNameValue[];
14 extern const char kPrinterDescValue[]; 14 extern const char kPrinterDescValue[];
15 extern const char kPrinterCapsValue[]; 15 extern const char kPrinterCapsValue[];
16 extern const char kPrinterDefaultsValue[]; 16 extern const char kPrinterDefaultsValue[];
17 extern const char kPrinterStatusValue[]; 17 extern const char kPrinterStatusValue[];
18 extern const char kPrinterTagValue[]; 18 extern const char kPrinterTagValue[];
19 // Values in the respone JSON from the cloud print server 19 // Values in the respone JSON from the cloud print server
20 extern const wchar_t kPrinterListValue[]; 20 extern const char kPrinterListValue[];
21 extern const wchar_t kSuccessValue[]; 21 extern const char kSuccessValue[];
22 extern const wchar_t kNameValue[]; 22 extern const char kNameValue[];
23 extern const wchar_t kIdValue[]; 23 extern const char kIdValue[];
24 extern const wchar_t kTicketUrlValue[]; 24 extern const char kTicketUrlValue[];
25 extern const wchar_t kFileUrlValue[]; 25 extern const char kFileUrlValue[];
26 extern const wchar_t kJobListValue[]; 26 extern const char kJobListValue[];
27 extern const wchar_t kTitleValue[]; 27 extern const char kTitleValue[];
28 extern const wchar_t kPrinterCapsHashValue[]; 28 extern const char kPrinterCapsHashValue[];
29 29
30 extern const char kDefaultCloudPrintServerUrl[]; 30 extern const char kDefaultCloudPrintServerUrl[];
31 extern const char kCloudPrintTalkServiceUrl[]; 31 extern const char kCloudPrintTalkServiceUrl[];
32 extern const char kGaiaUrl[]; 32 extern const char kGaiaUrl[];
33 extern const char kCloudPrintGaiaServiceId[]; 33 extern const char kCloudPrintGaiaServiceId[];
34 extern const char kSyncGaiaServiceId[]; 34 extern const char kSyncGaiaServiceId[];
35 35
36 // Max interval between retrying connection to the server 36 // Max interval between retrying connection to the server
37 const int64 kMaxRetryInterval = 5*60*1000; // 5 minutes in millseconds 37 const int64 kMaxRetryInterval = 5*60*1000; // 5 minutes in millseconds
38 const int64 kBaseRetryInterval = 5*1000; // 5 seconds 38 const int64 kBaseRetryInterval = 5*1000; // 5 seconds
39 const int kMaxRetryCount = 2; 39 const int kMaxRetryCount = 2;
40 const int64 kJobStatusUpdateInterval = 10*1000; // 10 seconds 40 const int64 kJobStatusUpdateInterval = 10*1000; // 10 seconds
41 41
42 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 42 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
43 43
OLDNEW
« no previous file with comments | « chrome/installer/util/master_preferences_unittest.cc ('k') | chrome/service/cloud_print/cloud_print_consts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698