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

Side by Side Diff: chrome/browser/sync_file_system/local/sync_file_system_backend.h

Issue 23167002: FileAPI: Rename SandboxContext to SandboxFileSystemBackendDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/local/sync_file_system_backend.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/browser/fileapi/file_system_backend.h" 8 #include "webkit/browser/fileapi/file_system_backend.h"
9 #include "webkit/browser/fileapi/file_system_quota_util.h" 9 #include "webkit/browser/fileapi/file_system_quota_util.h"
10 #include "webkit/browser/fileapi/sandbox_context.h" 10 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h"
11 11
12 namespace sync_file_system { 12 namespace sync_file_system {
13 13
14 class LocalFileChangeTracker; 14 class LocalFileChangeTracker;
15 class LocalFileSyncContext; 15 class LocalFileSyncContext;
16 16
17 class SyncFileSystemBackend 17 class SyncFileSystemBackend
18 : public fileapi::FileSystemBackend, 18 : public fileapi::FileSystemBackend,
19 public fileapi::FileSystemQuotaUtil { 19 public fileapi::FileSystemQuotaUtil {
20 public: 20 public:
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 private: 105 private:
106 // Observers for internal sync. 106 // Observers for internal sync.
107 fileapi::UpdateObserverList update_observers_; 107 fileapi::UpdateObserverList update_observers_;
108 fileapi::ChangeObserverList change_observers_; 108 fileapi::ChangeObserverList change_observers_;
109 109
110 fileapi::UpdateObserverList syncable_update_observers_; 110 fileapi::UpdateObserverList syncable_update_observers_;
111 fileapi::ChangeObserverList syncable_change_observers_; 111 fileapi::ChangeObserverList syncable_change_observers_;
112 112
113 // Owned by FileSystemContext. 113 // Owned by FileSystemContext.
114 fileapi::SandboxContext* sandbox_context_; 114 fileapi::SandboxFileSystemBackendDelegate* delegate_;
115 115
116 scoped_ptr<sync_file_system::LocalFileChangeTracker> change_tracker_; 116 scoped_ptr<sync_file_system::LocalFileChangeTracker> change_tracker_;
117 scoped_refptr<sync_file_system::LocalFileSyncContext> sync_context_; 117 scoped_refptr<sync_file_system::LocalFileSyncContext> sync_context_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); 119 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend);
120 }; 120 };
121 121
122 } // namespace sync_file_system 122 } // namespace sync_file_system
123 123
124 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 124 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/local/sync_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698