Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
index 7e927282cc4f97884955bb3619459cd64a796b0d..e0875a3162b02688c6dbf099b31078f4b85d8003 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
@@ -337,7 +337,10 @@ class PrintPreviewHandler |
// Called when the DOM Distiller determines whether or not this page can |
// be distilled. |
// |distillable|: Whether or not this page can be distilled. |
- void HandleIsPageDistillableResult(bool distillable); |
Lei Zhang
2015/08/14 05:44:35
nit: name it consistently with everything else.
|
+ void OnGotPageDistillableResult(bool distillable); |
+ |
+ // Called if the DOM Distiller failed. |
+ void OnDistillerFailed(); |
// Register/unregister from notifications of changes done to the GAIA |
// cookie. |
@@ -395,8 +398,8 @@ class PrintPreviewHandler |
// notify the test if it was a successful save, only that it was attempted. |
base::Closure pdf_file_saved_closure_; |
- // A print preview that is responsible for rendering the page after |
Lei Zhang
2015/08/14 05:44:36
A PrintPreviewDistiller != "a print preview"
|
- // being processed by the DOM Distiller. |
+ // The class that is responsible for rendering the page after being processed |
+ // by the DOM Distiller. |
scoped_ptr<PrintPreviewDistiller> print_preview_distiller_; |
base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; |