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

Unified Diff: cloud_print/virtual_driver/win/port_monitor/port_monitor.cc

Issue 7222011: Linux Virtual Printer Driver (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: changed command_line_string to GetCommandLineString Created 9 years, 5 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: cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
index 562d0b8dea617b4b4ac3d32929d46b3c981eccd7..0c196ba102396b382b52bb21f58efb3754f77f6c 100644
--- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
+++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
@@ -25,29 +25,7 @@
#include "cloud_print/virtual_driver/win/port_monitor/spooler_win.h"
#include "cloud_print/virtual_driver/win/virtual_driver_consts.h"
#include "cloud_print/virtual_driver/win/virtual_driver_helpers.h"
-
-namespace switches {
-// These constants are duplicated from chrome/common/chrome_switches.cc
-// in order to avoid dependency problems.
-// TODO(abodenha@chromium.org) Reunify them in some sensible manner.
-
-// Used with kCloudPrintFile. Tells Chrome to delete the file when
-// finished displaying the print dialog.
-const char kCloudPrintDeleteFile[] = "cloud-print-delete-file";
-
-// Tells chrome to display the cloud print dialog and upload the
-// specified file for printing.
-const char kCloudPrintFile[] = "cloud-print-file";
-
-// Used with kCloudPrintFile to specify a title for the resulting print
-// job.
-const char kCloudPrintJobTitle[] = "cloud-print-job-title";
-
-// Specifies the mime type to be used when uploading data from the
-// file referenced by cloud-print-file.
-// Defaults to "application/pdf" if unspecified.
-const char kCloudPrintFileType[] = "cloud-print-file-type";
-}
+#include "cloud_print/virtual_driver/virtual_driver_switches.h"
namespace cloud_print {

Powered by Google App Engine
This is Rietveld 408576698