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

Side by Side Diff: components/storage_monitor/udev_util_linux.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_STORAGE_MONITOR_UDEV_UTIL_LINUX_H_ 5 #ifndef COMPONENTS_STORAGE_MONITOR_UDEV_UTIL_LINUX_H_
6 #define COMPONENTS_STORAGE_MONITOR_UDEV_UTIL_LINUX_H_ 6 #define COMPONENTS_STORAGE_MONITOR_UDEV_UTIL_LINUX_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 struct udev_device;
11
12 namespace base { 10 namespace base {
13 class FilePath; 11 class FilePath;
14 } 12 }
15 13
16 namespace storage_monitor { 14 namespace storage_monitor {
17 15
18 // Helper for udev_device_new_from_syspath()/udev_device_get_property_value() 16 // Helper for udev_device_new_from_syspath()/udev_device_get_property_value()
19 // pair. |device_path| is the absolute path to the device, including /sys. 17 // pair. |device_path| is the absolute path to the device, including /sys.
20 bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path, 18 bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path,
21 const char* key, 19 const char* key,
22 std::string* result); 20 std::string* result);
23 21
24 } // namespace storage_monitor 22 } // namespace storage_monitor
25 23
26 #endif // COMPONENTS_STORAGE_MONITOR_UDEV_UTIL_LINUX_H_ 24 #endif // COMPONENTS_STORAGE_MONITOR_UDEV_UTIL_LINUX_H_
OLDNEW
« no previous file with comments | « components/spellcheck/browser/spelling_service_client.h ('k') | components/suggestions/image_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698