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

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

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/disks/disk_mount_manager.h ('k') | chromeos/network/certificate_pattern.h » ('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 #include "chromeos/disks/disk_mount_manager.h" 5 #include "chromeos/disks/disk_mount_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 system_path_prefix_(system_path_prefix), 676 system_path_prefix_(system_path_prefix),
677 device_type_(device_type), 677 device_type_(device_type),
678 total_size_in_bytes_(total_size_in_bytes), 678 total_size_in_bytes_(total_size_in_bytes),
679 is_parent_(is_parent), 679 is_parent_(is_parent),
680 is_read_only_(is_read_only), 680 is_read_only_(is_read_only),
681 has_media_(has_media), 681 has_media_(has_media),
682 on_boot_device_(on_boot_device), 682 on_boot_device_(on_boot_device),
683 on_removable_device_(on_removable_device), 683 on_removable_device_(on_removable_device),
684 is_hidden_(is_hidden) {} 684 is_hidden_(is_hidden) {}
685 685
686 DiskMountManager::Disk::Disk(const Disk& other) = default;
687
686 DiskMountManager::Disk::~Disk() {} 688 DiskMountManager::Disk::~Disk() {}
687 689
688 bool DiskMountManager::AddDiskForTest(Disk* disk) { 690 bool DiskMountManager::AddDiskForTest(Disk* disk) {
689 return false; 691 return false;
690 } 692 }
691 693
692 bool DiskMountManager::AddMountPointForTest(const MountPointInfo& mount_point) { 694 bool DiskMountManager::AddMountPointForTest(const MountPointInfo& mount_point) {
693 return false; 695 return false;
694 } 696 }
695 697
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 VLOG(1) << "DiskMountManager Shutdown completed"; 758 VLOG(1) << "DiskMountManager Shutdown completed";
757 } 759 }
758 760
759 // static 761 // static
760 DiskMountManager* DiskMountManager::GetInstance() { 762 DiskMountManager* DiskMountManager::GetInstance() {
761 return g_disk_mount_manager; 763 return g_disk_mount_manager;
762 } 764 }
763 765
764 } // namespace disks 766 } // namespace disks
765 } // namespace chromeos 767 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/disks/disk_mount_manager.h ('k') | chromeos/network/certificate_pattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698