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

Side by Side Diff: chrome/browser/local_discovery/storage/privet_filesystem_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 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/local_discovery/storage/privet_filesystem_backend.h" 5 #include "chrome/browser/local_discovery/storage/privet_filesystem_backend.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "chrome/browser/local_discovery/storage/privet_filesystem_async_util.h" 9 #include "chrome/browser/local_discovery/storage/privet_filesystem_async_util.h"
10 #include "chrome/browser/local_discovery/storage/privet_filesystem_constants.h" 10 #include "chrome/browser/local_discovery/storage/privet_filesystem_constants.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 storage::FileSystemQuotaUtil* PrivetFileSystemBackend::GetQuotaUtil() { 48 storage::FileSystemQuotaUtil* PrivetFileSystemBackend::GetQuotaUtil() {
49 // No quota support. 49 // No quota support.
50 return NULL; 50 return NULL;
51 } 51 }
52 52
53 storage::AsyncFileUtil* PrivetFileSystemBackend::GetAsyncFileUtil( 53 storage::AsyncFileUtil* PrivetFileSystemBackend::GetAsyncFileUtil(
54 storage::FileSystemType type) { 54 storage::FileSystemType type) {
55 return async_util_.get(); 55 return async_util_.get();
56 } 56 }
57 57
58 storage::WatcherManager* PrivetFileSystemBackend::GetWatcherManager(
59 storage::FileSystemType type) {
60 return NULL;
61 }
62
58 storage::CopyOrMoveFileValidatorFactory* 63 storage::CopyOrMoveFileValidatorFactory*
59 PrivetFileSystemBackend::GetCopyOrMoveFileValidatorFactory( 64 PrivetFileSystemBackend::GetCopyOrMoveFileValidatorFactory(
60 storage::FileSystemType type, 65 storage::FileSystemType type,
61 base::File::Error* error_code) { 66 base::File::Error* error_code) {
62 DCHECK(error_code); 67 DCHECK(error_code);
63 *error_code = base::File::FILE_OK; 68 *error_code = base::File::FILE_OK;
64 return NULL; 69 return NULL;
65 } 70 }
66 71
67 storage::FileSystemOperation* 72 storage::FileSystemOperation*
(...skipping 28 matching lines...) Expand all
96 101
97 scoped_ptr<storage::FileStreamWriter> 102 scoped_ptr<storage::FileStreamWriter>
98 PrivetFileSystemBackend::CreateFileStreamWriter( 103 PrivetFileSystemBackend::CreateFileStreamWriter(
99 const storage::FileSystemURL& url, 104 const storage::FileSystemURL& url,
100 int64 offset, 105 int64 offset,
101 storage::FileSystemContext* context) const { 106 storage::FileSystemContext* context) const {
102 return scoped_ptr<storage::FileStreamWriter>(); 107 return scoped_ptr<storage::FileStreamWriter>();
103 } 108 }
104 109
105 } // namespace local_discovery 110 } // namespace local_discovery
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698