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

Side by Side Diff: cloud_print/virtual_driver/win/virtual_driver_helpers.h

Issue 2590433003: Re-enable building both 32 and 64 bit version of the GCP port monitor. (Closed)
Patch Set: Fix some issues with 32/64 bit installation. Created 3 years, 12 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 unified diff | Download patch
OLDNEW
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 #ifndef CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_ 5 #ifndef CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_
6 #define CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_ 6 #define CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 11
12 namespace base { 12 namespace base {
13 class FilePath; 13 class FilePath;
14 } 14 }
15 15
16 namespace cloud_print { 16 namespace cloud_print {
17 17
18 // Convert an HRESULT to a localized string and display it in a message box. 18 // Convert an HRESULT to a localized string and display it in a message box.
19 void DisplayWindowsMessage(HWND hwnd, 19 void DisplayWindowsMessage(HWND hwnd,
20 HRESULT hr, 20 HRESULT hr,
21 const base::string16& caption); 21 const base::string16& caption);
22 22
23 // Returns the correct port monitor DLL file name for the current machine.
24 base::string16 GetPortMonitorDllName();
25
23 // Gets the standard install path for "version 3" print drivers. 26 // Gets the standard install path for "version 3" print drivers.
24 HRESULT GetPrinterDriverDir(base::FilePath* path); 27 HRESULT GetPrinterDriverDir(base::FilePath* path);
25 28
29 // Returns TRUE if the current OS is 64 bit.
30 bool IsSystem64Bit();
31
26 } // namespace cloud_print 32 } // namespace cloud_print
27 33
28 #endif // CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_ 34 #endif // CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698