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

Unified Diff: chrome/common/print_messages.h

Issue 7038028: Initial support for cloudprint in print preview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lint! Created 9 years, 6 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/common/print_messages.h
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index eb9327a5ca6d3bb5a398dcad4d474ec41489da1d..c0e875e4315597386b30925d66b758994a27c4e5 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -5,6 +5,8 @@
// IPC messages for printing.
// Multiply-included message file, hence no include guard.
+#include <string>
+
#include "base/values.h"
#include "base/shared_memory.h"
#include "ipc/ipc_message_macros.h"
@@ -128,6 +130,14 @@ IPC_STRUCT_END()
// Messages sent from the browser to the renderer.
+// Tells the renderer to setup or teardown a whitelist allowing the
+// print preview page to communicate with cloud print.
+IPC_MESSAGE_ROUTED1(PrintMsg_PrintSetupWhitelist,
+ std::string /* host */)
+
+IPC_MESSAGE_ROUTED1(PrintMsg_PrintTeardownWhitelist,
+ std::string /* host */)
+
// Tells the render view to initiate print preview for the entire document.
IPC_MESSAGE_ROUTED0(PrintMsg_InitiatePrintPreview)

Powered by Google App Engine
This is Rietveld 408576698