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

Unified Diff: cloud_print/virtual_driver/win/virtual_driver_helpers.h

Issue 2541123003: Resurrect the cloud printer driver. (Closed)
Patch Set: Remove cross-compiling option for the portmon dll. Created 4 years 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/virtual_driver_helpers.h
diff --git a/cloud_print/virtual_driver/win/virtual_driver_helpers.h b/cloud_print/virtual_driver/win/virtual_driver_helpers.h
new file mode 100644
index 0000000000000000000000000000000000000000..eadebe8d40edc83ec0c4518c41499d9d7c82395a
--- /dev/null
+++ b/cloud_print/virtual_driver/win/virtual_driver_helpers.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_
+#define CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_
+
+#include <windows.h>
+
+#include "base/strings/string16.h"
+
+namespace base {
+class FilePath;
+}
+
+namespace cloud_print {
+
+// Convert an HRESULT to a localized string and display it in a message box.
+void DisplayWindowsMessage(HWND hwnd,
+ HRESULT hr,
+ const base::string16& caption);
+
+// Gets the standard install path for "version 3" print drivers.
+HRESULT GetPrinterDriverDir(base::FilePath* path);
+
+} // namespace cloud_print
+
+#endif // CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_
« no previous file with comments | « cloud_print/virtual_driver/win/virtual_driver_consts.cc ('k') | cloud_print/virtual_driver/win/virtual_driver_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698