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

Side by Side Diff: webkit/fileapi/file_system_context.h

Issue 11151016: FileSystemContext::partition_path should not be held as a const ref (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 186
187 // Regular mount point providers. 187 // Regular mount point providers.
188 scoped_ptr<SandboxMountPointProvider> sandbox_provider_; 188 scoped_ptr<SandboxMountPointProvider> sandbox_provider_;
189 scoped_ptr<IsolatedMountPointProvider> isolated_provider_; 189 scoped_ptr<IsolatedMountPointProvider> isolated_provider_;
190 scoped_ptr<ExternalFileSystemMountPointProvider> external_provider_; 190 scoped_ptr<ExternalFileSystemMountPointProvider> external_provider_;
191 191
192 // Registered mount point providers. 192 // Registered mount point providers.
193 std::map<FileSystemType, FileSystemMountPointProvider*> provider_map_; 193 std::map<FileSystemType, FileSystemMountPointProvider*> provider_map_;
194 194
195 // The base path of the storage partition for this context. 195 // The base path of the storage partition for this context.
196 const FilePath& partition_path_; 196 const FilePath partition_path_;
197 197
198 // For syncable file systems. 198 // For syncable file systems.
199 scoped_ptr<LocalFileChangeTracker> change_tracker_; 199 scoped_ptr<LocalFileChangeTracker> change_tracker_;
200 scoped_refptr<LocalFileSyncContext> sync_context_; 200 scoped_refptr<LocalFileSyncContext> sync_context_;
201 201
202 DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemContext); 202 DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemContext);
203 }; 203 };
204 204
205 struct DefaultContextDeleter { 205 struct DefaultContextDeleter {
206 static void Destruct(const FileSystemContext* context) { 206 static void Destruct(const FileSystemContext* context) {
207 context->DeleteOnCorrectThread(); 207 context->DeleteOnCorrectThread();
208 } 208 }
209 }; 209 };
210 210
211 } // namespace fileapi 211 } // namespace fileapi
212 212
213 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 213 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698