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

Unified Diff: components/storage_monitor/storage_monitor_linux.cc

Issue 1018593002: Introduce UdevDeviceGetSysattrValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Omit device:: in udev.cc for local functions Created 5 years, 9 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
Index: components/storage_monitor/storage_monitor_linux.cc
diff --git a/components/storage_monitor/storage_monitor_linux.cc b/components/storage_monitor/storage_monitor_linux.cc
index 84c7dc4d47da5e81baf6e4304a7c9ddaabdcc76e..162a4a21fe02d80a645b90973cba30c45605b3e7 100644
--- a/components/storage_monitor/storage_monitor_linux.cc
+++ b/components/storage_monitor/storage_monitor_linux.cc
@@ -99,8 +99,8 @@ class ScopedGetDeviceInfoResultRecorder {
uint64 GetDeviceStorageSize(const base::FilePath& device_path,
struct udev_device* device) {
// sysfs provides the device size in units of 512-byte blocks.
- const std::string partition_size = device::udev_device_get_sysattr_value(
- device, kSizeSysAttr);
+ const std::string partition_size =
+ device::UdevDeviceGetSysattrValue(device, kSizeSysAttr);
// Keep track of device size, to see how often this information is
// unavailable.
« no previous file with comments | « chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc ('k') | device/udev_linux/udev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698