OLD | NEW |
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_HELPERS_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "chrome/service/cloud_print/print_system.h" | 12 #include "chrome/service/cloud_print/print_system.h" |
14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
15 | 14 |
16 namespace base { | 15 namespace base { |
17 class DictionaryValue; | 16 class DictionaryValue; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Created CloudPrint auth header from the auth token stored in the store. | 57 // Created CloudPrint auth header from the auth token stored in the store. |
59 static std::string GetCloudPrintAuthHeaderFromStore(); | 58 static std::string GetCloudPrintAuthHeaderFromStore(); |
60 // Created CloudPrint auth header from the auth token. | 59 // Created CloudPrint auth header from the auth token. |
61 static std::string GetCloudPrintAuthHeader(const std::string& auth_token); | 60 static std::string GetCloudPrintAuthHeader(const std::string& auth_token); |
62 | 61 |
63 private: | 62 private: |
64 CloudPrintHelpers() {} | 63 CloudPrintHelpers() {} |
65 }; | 64 }; |
66 | 65 |
67 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 66 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
OLD | NEW |