OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <windows.h> | 5 #include <windows.h> |
6 #include <winspool.h> | 6 #include <winspool.h> |
7 | 7 |
8 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 retval = UninstallVirtualDriver(); | 316 retval = UninstallVirtualDriver(); |
317 } else { | 317 } else { |
318 retval = InstallVirtualDriver(); | 318 retval = InstallVirtualDriver(); |
319 } | 319 } |
320 if (!CommandLine::ForCurrentProcess()->HasSwitch("silent")) { | 320 if (!CommandLine::ForCurrentProcess()->HasSwitch("silent")) { |
321 cloud_print::DisplayWindowsMessage(NULL, retval, | 321 cloud_print::DisplayWindowsMessage(NULL, retval, |
322 cloud_print::LoadLocalString(IDS_DRIVER_NAME)); | 322 cloud_print::LoadLocalString(IDS_DRIVER_NAME)); |
323 } | 323 } |
324 return retval; | 324 return retval; |
325 } | 325 } |
326 | |
OLD | NEW |