Chromium Code Reviews| Index: chrome/browser/browser_main.cc |
| =================================================================== |
| --- chrome/browser/browser_main.cc (revision 70951) |
| +++ chrome/browser/browser_main.cc (working copy) |
| @@ -60,6 +60,7 @@ |
| #include "chrome/browser/prefs/pref_service.h" |
| #include "chrome/browser/prefs/pref_value_store.h" |
| #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" |
| +#include "chrome/browser/printing/print_dialog_cloud.h" |
| #include "chrome/browser/process_singleton.h" |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/profiles/profile_manager.h" |
| @@ -1623,6 +1624,14 @@ |
| } |
| } |
| + if (parsed_command_line.HasSwitch(switches::kCloudPrintFile)) { |
| + FilePath cloud_print_file; |
| + cloud_print_file = |
| + parsed_command_line.GetSwitchValuePath(switches::kCloudPrintFile); |
|
sanjeevr
2011/01/11 21:39:55
If GetSwitchValuePath returns empty, perhaps we sh
abodenha
2011/01/12 01:30:50
Done.
|
| + |
| + PrintDialogCloud::CreatePrintDialogForPdf(cloud_print_file); |
| + } |
| + |
| #if defined(OS_CHROMEOS) |
| // Run the Out of Memory priority manager while in this scope. Wait |
| // until here to start so that we give the most amount of time for |