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

Side by Side Diff: chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.cc

Issue 908833002: Move some file api files to fileapi folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h" 5 #include "chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h"
6 #include "chrome/browser/media_galleries/fileapi/device_media_async_file_util.h" 6 #include "chrome/browser/media_galleries/fileapi/device_media_async_file_util.h"
7 #include "storage/browser/blob/file_stream_reader.h" 7 #include "storage/browser/fileapi/file_stream_reader.h"
8 #include "storage/browser/fileapi/file_stream_writer.h" 8 #include "storage/browser/fileapi/file_stream_writer.h"
9 #include "storage/browser/fileapi/file_system_url.h" 9 #include "storage/browser/fileapi/file_system_url.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 MTPFileSystemBackendDelegate::MTPFileSystemBackendDelegate( 13 MTPFileSystemBackendDelegate::MTPFileSystemBackendDelegate(
14 const base::FilePath& storage_partition_path) 14 const base::FilePath& storage_partition_path)
15 : device_media_async_file_util_( 15 : device_media_async_file_util_(
16 DeviceMediaAsyncFileUtil::Create(storage_partition_path, 16 DeviceMediaAsyncFileUtil::Create(storage_partition_path,
17 NO_MEDIA_FILE_VALIDATION)) { 17 NO_MEDIA_FILE_VALIDATION)) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 void MTPFileSystemBackendDelegate::GetRedirectURLForContents( 60 void MTPFileSystemBackendDelegate::GetRedirectURLForContents(
61 const storage::FileSystemURL& url, 61 const storage::FileSystemURL& url,
62 const storage::URLCallback& callback) { 62 const storage::URLCallback& callback) {
63 DCHECK_EQ(storage::kFileSystemTypeDeviceMediaAsFileStorage, url.type()); 63 DCHECK_EQ(storage::kFileSystemTypeDeviceMediaAsFileStorage, url.type());
64 64
65 callback.Run(GURL()); 65 callback.Run(GURL());
66 } 66 }
67 67
68 } // namespace chromeos 68 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/fileapi/file_system_backend.cc ('k') | chrome/browser/drive/drive_api_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698