Chromium Code Reviews| Index: chrome/browser/printing/print_preview_data_service.h |
| diff --git a/chrome/browser/printing/print_preview_data_service.h b/chrome/browser/printing/print_preview_data_service.h |
| index 2e94393a9268946b0242a963ec3f64f847f1003c..187051f30d1d5f01d578928486c888aab4227359 100644 |
| --- a/chrome/browser/printing/print_preview_data_service.h |
| +++ b/chrome/browser/printing/print_preview_data_service.h |
| @@ -40,6 +40,10 @@ class PrintPreviewDataService { |
| // Remove the corresponding PrintPreviewUI entry from the map. |
| void RemoveEntry(const std::string& preview_ui_addr_str); |
| + // Returns true if all the individual preview pages are available. |
| + bool IsDraftPagesAvailable(const std::string& preview_ui_addr_str, |
|
vandebo (ex-Chrome)
2011/08/29 18:21:56
This API is pretty fragile, you only get the right
kmadhusu
2011/08/30 17:27:00
Done.
|
| + int draft_page_count); |
| + |
| private: |
| friend struct DefaultSingletonTraits<PrintPreviewDataService>; |