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

Side by Side Diff: chrome/browser/sync_file_system/local/sync_file_system_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
7 7
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sync_file_system/sync_callbacks.h" 9 #include "chrome/browser/sync_file_system/sync_callbacks.h"
10 #include "chrome/browser/sync_file_system/sync_status_code.h" 10 #include "chrome/browser/sync_file_system/sync_status_code.h"
(...skipping 16 matching lines...) Expand all
27 static SyncFileSystemBackend* CreateForTesting(); 27 static SyncFileSystemBackend* CreateForTesting();
28 28
29 // FileSystemBackend overrides. 29 // FileSystemBackend overrides.
30 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE; 30 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE;
31 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE; 31 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE;
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 virtual storage::AsyncFileUtil* GetAsyncFileUtil( 35 virtual storage::AsyncFileUtil* GetAsyncFileUtil(
36 storage::FileSystemType type) OVERRIDE; 36 storage::FileSystemType type) OVERRIDE;
37 virtual storage::WatcherManager* GetWatcherManager(
38 storage::FileSystemType type) OVERRIDE;
37 virtual storage::CopyOrMoveFileValidatorFactory* 39 virtual storage::CopyOrMoveFileValidatorFactory*
38 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type, 40 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type,
39 base::File::Error* error_code) OVERRIDE; 41 base::File::Error* error_code) OVERRIDE;
40 virtual storage::FileSystemOperation* CreateFileSystemOperation( 42 virtual storage::FileSystemOperation* CreateFileSystemOperation(
41 const storage::FileSystemURL& url, 43 const storage::FileSystemURL& url,
42 storage::FileSystemContext* context, 44 storage::FileSystemContext* context,
43 base::File::Error* error_code) const OVERRIDE; 45 base::File::Error* error_code) const OVERRIDE;
44 virtual bool SupportsStreaming( 46 virtual bool SupportsStreaming(
45 const storage::FileSystemURL& url) const OVERRIDE; 47 const storage::FileSystemURL& url) const OVERRIDE;
46 virtual bool HasInplaceCopyImplementation( 48 virtual bool HasInplaceCopyImplementation(
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 storage::OpenFileSystemMode mode, 109 storage::OpenFileSystemMode mode,
108 const OpenFileSystemCallback& callback, 110 const OpenFileSystemCallback& callback,
109 SyncStatusCode status); 111 SyncStatusCode status);
110 112
111 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); 113 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend);
112 }; 114 };
113 115
114 } // namespace sync_file_system 116 } // namespace sync_file_system
115 117
116 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 118 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698