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

Side by Side Diff: webkit/browser/fileapi/sandbox_file_system_backend.cc

Issue 452043003: [ew] Add basic classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing files. Created 6 years, 3 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
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 "webkit/browser/fileapi/sandbox_file_system_backend.h" 5 #include "webkit/browser/fileapi/sandbox_file_system_backend.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 callback, 78 callback,
79 GetFileSystemRootURI(url.origin(), url.type())); 79 GetFileSystemRootURI(url.origin(), url.type()));
80 } 80 }
81 81
82 AsyncFileUtil* SandboxFileSystemBackend::GetAsyncFileUtil( 82 AsyncFileUtil* SandboxFileSystemBackend::GetAsyncFileUtil(
83 FileSystemType type) { 83 FileSystemType type) {
84 DCHECK(delegate_); 84 DCHECK(delegate_);
85 return delegate_->file_util(); 85 return delegate_->file_util();
86 } 86 }
87 87
88 WatcherManager* SandboxFileSystemBackend::GetWatcherManager(
89 FileSystemType type) {
90 return NULL;
91 }
92
88 CopyOrMoveFileValidatorFactory* 93 CopyOrMoveFileValidatorFactory*
89 SandboxFileSystemBackend::GetCopyOrMoveFileValidatorFactory( 94 SandboxFileSystemBackend::GetCopyOrMoveFileValidatorFactory(
90 FileSystemType type, 95 FileSystemType type,
91 base::File::Error* error_code) { 96 base::File::Error* error_code) {
92 DCHECK(error_code); 97 DCHECK(error_code);
93 *error_code = base::File::FILE_OK; 98 *error_code = base::File::FILE_OK;
94 return NULL; 99 return NULL;
95 } 100 }
96 101
97 FileSystemOperation* SandboxFileSystemBackend::CreateFileSystemOperation( 102 FileSystemOperation* SandboxFileSystemBackend::CreateFileSystemOperation(
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 return delegate_; 157 return delegate_;
153 } 158 }
154 159
155 SandboxFileSystemBackendDelegate::OriginEnumerator* 160 SandboxFileSystemBackendDelegate::OriginEnumerator*
156 SandboxFileSystemBackend::CreateOriginEnumerator() { 161 SandboxFileSystemBackend::CreateOriginEnumerator() {
157 DCHECK(delegate_); 162 DCHECK(delegate_);
158 return delegate_->CreateOriginEnumerator(); 163 return delegate_->CreateOriginEnumerator();
159 } 164 }
160 165
161 } // namespace storage 166 } // namespace storage
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698