| OLD | NEW |
| 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_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ |
| 6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 // Used to serialize access to printing_enabled_ | 67 // Used to serialize access to printing_enabled_ |
| 68 Lock enabled_lock_; | 68 Lock enabled_lock_; |
| 69 | 69 |
| 70 PrinterQueries queued_queries_; | 70 PrinterQueries queued_queries_; |
| 71 | 71 |
| 72 // Current print jobs that are active. | 72 // Current print jobs that are active. |
| 73 PrintJobs current_jobs_; | 73 PrintJobs current_jobs_; |
| 74 | 74 |
| 75 // Printing is enabled/disabled. This variable is checked at only one place, | 75 // Printing is enabled/disabled. This variable is checked at only one place, |
| 76 // by ResourceMessageFilter::OnGetDefaultPrintSettings. If its value is true | 76 // by RenderMessageFilter::OnGetDefaultPrintSettings. If its value is true |
| 77 // at that point, then the initiated print flow will complete itself, | 77 // at that point, then the initiated print flow will complete itself, |
| 78 // even if the value of this variable changes afterwards. | 78 // even if the value of this variable changes afterwards. |
| 79 bool printing_enabled_; | 79 bool printing_enabled_; |
| 80 | 80 |
| 81 DISALLOW_COPY_AND_ASSIGN(PrintJobManager); | 81 DISALLOW_COPY_AND_ASSIGN(PrintJobManager); |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace printing | 84 } // namespace printing |
| 85 | 85 |
| 86 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ | 86 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ |
| OLD | NEW |