Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4312)

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 909143004: Add support for starting an extension print job to print preview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: vitaly's feedback Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f6bf882b55bdd5779e21dcc44f88efa06c877c59..4f0b347fd927e6e86570eb53445ffec6c4098e29 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -303,6 +303,12 @@ class PrintPreviewHandler
const std::string& printer_id,
const base::DictionaryValue& capabilities);
+ // Called when an extension print job is completed.
+ // |success|: Whether the job succeeded.
+ // |status|: The returned print job status. Useful for reporting a specific
+ // error.
+ void OnExtensionPrintResult(bool success, const std::string& status);
+
// Register/unregister from notifications of changes done to the GAIA
// cookie.
void RegisterForMergeSession();

Powered by Google App Engine
This is Rietveld 408576698