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_JOB_STATUS_UPDATER_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_ |
6 #define CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
13 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" | 14 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" |
14 #include "chrome/service/cloud_print/print_system.h" | 15 #include "chrome/service/cloud_print/print_system.h" |
15 #include "net/url_request/url_request_status.h" | 16 #include "net/url_request/url_request_status.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 namespace cloud_print { | 19 namespace cloud_print { |
19 | 20 |
20 // Periodically monitors the status of a local print job and updates the | 21 // Periodically monitors the status of a local print job and updates the |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 79 |
79 // This typedef is to workaround the issue with certain versions of | 80 // This typedef is to workaround the issue with certain versions of |
80 // Visual Studio where it gets confused between multiple Delegate | 81 // Visual Studio where it gets confused between multiple Delegate |
81 // classes and gives a C2500 error. (I saw this error on the try bots - | 82 // classes and gives a C2500 error. (I saw this error on the try bots - |
82 // the workaround was not needed for my machine). | 83 // the workaround was not needed for my machine). |
83 typedef JobStatusUpdater::Delegate JobStatusUpdaterDelegate; | 84 typedef JobStatusUpdater::Delegate JobStatusUpdaterDelegate; |
84 | 85 |
85 } // namespace cloud_print | 86 } // namespace cloud_print |
86 | 87 |
87 #endif // CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_ | 88 #endif // CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_ |
OLD | NEW |