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

Unified Diff: device/base/device_info_query_win.h

Issue 2700563007: Clean up DeviceInfoQueryWin. (Closed)
Patch Set: Add INITGUID to serial_io_handler_win.cc. Created 3 years, 10 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
« no previous file with comments | « no previous file | device/base/device_info_query_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/base/device_info_query_win.h
diff --git a/device/base/device_info_query_win.h b/device/base/device_info_query_win.h
index 17ee13bcb69da6c85295161317854339b6e387eb..f9f464a5030255e7f25b1e175b63c93f05db2319 100644
--- a/device/base/device_info_query_win.h
+++ b/device/base/device_info_query_win.h
@@ -25,12 +25,13 @@ class DEVICE_BASE_EXPORT DeviceInfoQueryWin {
// Add a device to |device_info_list_| using its |device_path| so that
// its device info can be retrieved.
- bool AddDevice(const char* device_path);
+ bool AddDevice(const std::string& device_path);
// Get the device info and store it into |device_info_data_|, this function
// should be called at most once.
bool GetDeviceInfo();
// Get device string property and store it into |property_buffer|.
- bool GetDeviceStringProperty(DWORD property, std::string* property_buffer);
+ bool GetDeviceStringProperty(const DEVPROPKEY& property,
+ std::string* property_buffer);
bool device_info_list_valid() {
return device_info_list_ != INVALID_HANDLE_VALUE;
« no previous file with comments | « no previous file | device/base/device_info_query_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698