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

Side by Side Diff: chrome/browser/local_discovery/storage/privet_filesystem_backend.h

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 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_BACKEND_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_BACKEND_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_BACKEND_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_BACKEND_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 17 matching lines...) Expand all
28 // FileSystemBackend implementation. 28 // FileSystemBackend implementation.
29 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE; 29 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE;
30 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE; 30 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE;
31 31
32 virtual void ResolveURL(const storage::FileSystemURL& url, 32 virtual void ResolveURL(const storage::FileSystemURL& url,
33 storage::OpenFileSystemMode mode, 33 storage::OpenFileSystemMode mode,
34 const OpenFileSystemCallback& callback) OVERRIDE; 34 const OpenFileSystemCallback& callback) OVERRIDE;
35 35
36 virtual storage::AsyncFileUtil* GetAsyncFileUtil( 36 virtual storage::AsyncFileUtil* GetAsyncFileUtil(
37 storage::FileSystemType type) OVERRIDE; 37 storage::FileSystemType type) OVERRIDE;
38 virtual storage::WatcherManager* GetWatcherManager(
39 storage::FileSystemType type) OVERRIDE;
38 virtual storage::CopyOrMoveFileValidatorFactory* 40 virtual storage::CopyOrMoveFileValidatorFactory*
39 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type, 41 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type,
40 base::File::Error* error_code) OVERRIDE; 42 base::File::Error* error_code) OVERRIDE;
41 43
42 virtual storage::FileSystemOperation* CreateFileSystemOperation( 44 virtual storage::FileSystemOperation* CreateFileSystemOperation(
43 const storage::FileSystemURL& url, 45 const storage::FileSystemURL& url,
44 storage::FileSystemContext* context, 46 storage::FileSystemContext* context,
45 base::File::Error* error_code) const OVERRIDE; 47 base::File::Error* error_code) const OVERRIDE;
46 48
47 virtual bool SupportsStreaming( 49 virtual bool SupportsStreaming(
(...skipping 17 matching lines...) Expand all
65 67
66 private: 68 private:
67 // User mount points. 69 // User mount points.
68 scoped_refptr<storage::ExternalMountPoints> mount_points_; 70 scoped_refptr<storage::ExternalMountPoints> mount_points_;
69 scoped_ptr<PrivetFileSystemAsyncUtil> async_util_; 71 scoped_ptr<PrivetFileSystemAsyncUtil> async_util_;
70 }; 72 };
71 73
72 } // namespace local_discovery 74 } // namespace local_discovery
73 75
74 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_BACKEND_H_ 76 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698