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

Side by Side Diff: chromeos/disks/disk_mount_manager.h

Issue 1870833003: chromeos: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « chromeos/dbus/audio_node.cc ('k') | chromeos/disks/disk_mount_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ 5 #ifndef CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
6 #define CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ 6 #define CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const std::string& fs_uuid, 66 const std::string& fs_uuid,
67 const std::string& system_path_prefix, 67 const std::string& system_path_prefix,
68 DeviceType device_type, 68 DeviceType device_type,
69 uint64_t total_size_in_bytes, 69 uint64_t total_size_in_bytes,
70 bool is_parent, 70 bool is_parent,
71 bool is_read_only, 71 bool is_read_only,
72 bool has_media, 72 bool has_media,
73 bool on_boot_device, 73 bool on_boot_device,
74 bool on_removable_device, 74 bool on_removable_device,
75 bool is_hidden); 75 bool is_hidden);
76 Disk(const Disk& other);
76 ~Disk(); 77 ~Disk();
77 78
78 // The path of the device, used by devicekit-disks. 79 // The path of the device, used by devicekit-disks.
79 // (e.g. /sys/devices/pci0000:00/.../8:0:0:0/block/sdb/sdb1) 80 // (e.g. /sys/devices/pci0000:00/.../8:0:0:0/block/sdb/sdb1)
80 const std::string& device_path() const { return device_path_; } 81 const std::string& device_path() const { return device_path_; }
81 82
82 // The path to the mount point of this device. Will be empty if not mounted. 83 // The path to the mount point of this device. Will be empty if not mounted.
83 // (e.g. /media/removable/VOLUME) 84 // (e.g. /media/removable/VOLUME)
84 const std::string& mount_path() const { return mount_path_; } 85 const std::string& mount_path() const { return mount_path_; }
85 86
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 307
307 // Returns a pointer to the global DiskMountManager instance. 308 // Returns a pointer to the global DiskMountManager instance.
308 // Initialize() should already have been called. 309 // Initialize() should already have been called.
309 static DiskMountManager* GetInstance(); 310 static DiskMountManager* GetInstance();
310 }; 311 };
311 312
312 } // namespace disks 313 } // namespace disks
313 } // namespace chromeos 314 } // namespace chromeos
314 315
315 #endif // CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ 316 #endif // CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/audio_node.cc ('k') | chromeos/disks/disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698