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

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

Issue 10693138: Remove #pragma once from chrome/service (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | 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 #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
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 9
11 // Constant defines used in the cloud print proxy code 10 // Constant defines used in the cloud print proxy code
12 extern const char kProxyIdValue[]; 11 extern const char kProxyIdValue[];
13 extern const char kPrinterNameValue[]; 12 extern const char kPrinterNameValue[];
14 extern const char kPrinterDescValue[]; 13 extern const char kPrinterDescValue[];
15 extern const char kPrinterCapsValue[]; 14 extern const char kPrinterCapsValue[];
16 extern const char kPrinterDefaultsValue[]; 15 extern const char kPrinterDefaultsValue[];
17 extern const char kPrinterStatusValue[]; 16 extern const char kPrinterStatusValue[];
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // print jobs. We choose a random interval in seconds between these 2 values. 61 // print jobs. We choose a random interval in seconds between these 2 values.
63 const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds 62 const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds
64 const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds 63 const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds
65 64
66 // The number of seconds before the OAuth2 access token is due to expire that 65 // The number of seconds before the OAuth2 access token is due to expire that
67 // we try and refresh it. 66 // we try and refresh it.
68 const int kTokenRefreshGracePeriodSecs = 5*60; // 5 minutes in seconds 67 const int kTokenRefreshGracePeriodSecs = 5*60; // 5 minutes in seconds
69 68
70 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 69 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
71 70
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_connector.h ('k') | chrome/service/cloud_print/cloud_print_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698