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

Side by Side Diff: chrome/browser/chromeos/arc/fileapi/arc_content_file_system_service.cc

Issue 2589643002: mediaview: Register ARC documents provider file system. (Closed)
Patch Set: . 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698