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

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: Addressed comments. Created 6 years, 4 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 17 matching lines...) Expand all
28 static SyncFileSystemBackend* CreateForTesting(); 28 static SyncFileSystemBackend* CreateForTesting();
29 29
30 // FileSystemBackend overrides. 30 // FileSystemBackend overrides.
31 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; 31 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
32 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE; 32 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE;
33 virtual void ResolveURL(const fileapi::FileSystemURL& url, 33 virtual void ResolveURL(const fileapi::FileSystemURL& url,
34 fileapi::OpenFileSystemMode mode, 34 fileapi::OpenFileSystemMode mode,
35 const OpenFileSystemCallback& callback) OVERRIDE; 35 const OpenFileSystemCallback& callback) OVERRIDE;
36 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( 36 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
37 fileapi::FileSystemType type) OVERRIDE; 37 fileapi::FileSystemType type) OVERRIDE;
38 virtual fileapi::WatcherManager* GetWatcherManager(
39 fileapi::FileSystemType type) OVERRIDE;
38 virtual fileapi::CopyOrMoveFileValidatorFactory* 40 virtual fileapi::CopyOrMoveFileValidatorFactory*
39 GetCopyOrMoveFileValidatorFactory( 41 GetCopyOrMoveFileValidatorFactory(
40 fileapi::FileSystemType type, 42 fileapi::FileSystemType type,
41 base::File::Error* error_code) OVERRIDE; 43 base::File::Error* error_code) OVERRIDE;
42 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( 44 virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
43 const fileapi::FileSystemURL& url, 45 const fileapi::FileSystemURL& url,
44 fileapi::FileSystemContext* context, 46 fileapi::FileSystemContext* context,
45 base::File::Error* error_code) const OVERRIDE; 47 base::File::Error* error_code) const OVERRIDE;
46 virtual bool SupportsStreaming( 48 virtual bool SupportsStreaming(
47 const fileapi::FileSystemURL& url) const OVERRIDE; 49 const fileapi::FileSystemURL& url) const OVERRIDE;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 fileapi::OpenFileSystemMode mode, 109 fileapi::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