| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/chromeos/arc/fileapi/arc_content_file_system_service.h" | |
| 6 | |
| 7 #include "base/files/file_path.h" | |
| 8 #include "chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.h
" | |
| 9 #include "storage/browser/fileapi/external_mount_points.h" | |
| 10 | |
| 11 namespace arc { | |
| 12 | |
| 13 ArcContentFileSystemService::ArcContentFileSystemService( | |
| 14 ArcBridgeService* arc_bridge_service) | |
| 15 : ArcService(arc_bridge_service) { | |
| 16 storage::ExternalMountPoints::GetSystemInstance()->RegisterFileSystem( | |
| 17 kMountPointName, storage::kFileSystemTypeArcContent, | |
| 18 storage::FileSystemMountOption(), base::FilePath(kMountPointPath)); | |
| 19 } | |
| 20 | |
| 21 ArcContentFileSystemService::~ArcContentFileSystemService() { | |
| 22 storage::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( | |
| 23 kMountPointName); | |
| 24 } | |
| 25 | |
| 26 } // namespace arc | |
| OLD | NEW |