| 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_PRINTER_JOB_HANDLER_H_ |    5 #ifndef CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ | 
|    6 #define CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ |    6 #define CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ | 
|    7  |    7  | 
|    8 #include <list> |    8 #include <list> | 
|    9 #include <string> |    9 #include <string> | 
|   10 #include <vector> |   10 #include <vector> | 
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   83   }; |   83   }; | 
|   84  |   84  | 
|   85   struct PrinterInfoFromCloud { |   85   struct PrinterInfoFromCloud { | 
|   86     std::string printer_id; |   86     std::string printer_id; | 
|   87     std::string caps_hash; |   87     std::string caps_hash; | 
|   88     std::string tags_hash; |   88     std::string tags_hash; | 
|   89     int current_xmpp_timeout; |   89     int current_xmpp_timeout; | 
|   90     int pending_xmpp_timeout; |   90     int pending_xmpp_timeout; | 
|   91  |   91  | 
|   92     PrinterInfoFromCloud(); |   92     PrinterInfoFromCloud(); | 
 |   93     PrinterInfoFromCloud(const PrinterInfoFromCloud& other); | 
|   93   }; |   94   }; | 
|   94  |   95  | 
|   95   // Begin public interface |   96   // Begin public interface | 
|   96   PrinterJobHandler(const printing::PrinterBasicInfo& printer_info, |   97   PrinterJobHandler(const printing::PrinterBasicInfo& printer_info, | 
|   97                     const PrinterInfoFromCloud& printer_info_from_server, |   98                     const PrinterInfoFromCloud& printer_info_from_server, | 
|   98                     const GURL& cloud_print_server_url, |   99                     const GURL& cloud_print_server_url, | 
|   99                     PrintSystem* print_system, |  100                     PrintSystem* print_system, | 
|  100                     Delegate* delegate); |  101                     Delegate* delegate); | 
|  101  |  102  | 
|  102   bool Initialize(); |  103   bool Initialize(); | 
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  311  |  312  | 
|  312 // This typedef is to workaround the issue with certain versions of |  313 // This typedef is to workaround the issue with certain versions of | 
|  313 // Visual Studio where it gets confused between multiple Delegate |  314 // Visual Studio where it gets confused between multiple Delegate | 
|  314 // classes and gives a C2500 error. (I saw this error on the try bots - |  315 // classes and gives a C2500 error. (I saw this error on the try bots - | 
|  315 // the workaround was not needed for my machine). |  316 // the workaround was not needed for my machine). | 
|  316 typedef PrinterJobHandler::Delegate PrinterJobHandlerDelegate; |  317 typedef PrinterJobHandler::Delegate PrinterJobHandlerDelegate; | 
|  317  |  318  | 
|  318 }  // namespace cloud_print |  319 }  // namespace cloud_print | 
|  319  |  320  | 
|  320 #endif  // CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ |  321 #endif  // CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ | 
| OLD | NEW |