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

Side by Side Diff: webkit/fileapi/mtp_device_interface_linux.cc

Issue 10781014: Isolated FS for media devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "webkit/fileapi/mtp_device_interface_linux.h"
6
7 namespace fileapi {
8
9 MtpDeviceInterfaceLinux::MtpDeviceInterfaceLinux(
10 const FilePath::StringType& device_id)
11 : device_id_(device_id) {
12 }
13
14 MtpDeviceInterfaceLinux::~MtpDeviceInterfaceLinux() {
15 }
16
17 bool MtpDeviceInterfaceLinux::Init() {
18 return true;
19 }
20
21 PlatformFileError MtpDeviceInterfaceLinux::GetFileInfo(
22 const FilePath& file_path,
23 PlatformFileInfo* file_info) {
24 NOTIMPLEMENTED();
25 return base::PLATFORM_FILE_ERROR_SECURITY;
26 }
27
28 FileSystemFileUtil::AbstractFileEnumerator*
29 MtpDeviceInterfaceLinux::CreateFileEnumerator(
30 const FilePath& root,
31 bool recursive) {
32 NOTIMPLEMENTED();
33 return new FileSystemFileUtil::EmptyFileEnumerator();
34 }
35
36 PlatformFileError MtpDeviceInterfaceLinux::Touch(
37 const FilePath& file_path,
38 const base::Time& last_access_time,
39 const base::Time& last_modified_time) {
40 NOTIMPLEMENTED();
41 return base::PLATFORM_FILE_ERROR_SECURITY;
42 }
43
44 bool MtpDeviceInterfaceLinux::PathExists(const FilePath& file_path) {
45 NOTIMPLEMENTED();
46 return false;
47 }
48
49 bool MtpDeviceInterfaceLinux::DirectoryExists(const FilePath& file_path) {
50 NOTIMPLEMENTED();
51 return false;
52 }
53
54 bool MtpDeviceInterfaceLinux::IsDirectoryEmpty(const FilePath& file_path) {
55 NOTIMPLEMENTED();
56 return false;
57 }
58
59 } // namespace fileapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698