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

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

Issue 137923003: Change fileapi namespace to content for files that are moved under content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 6 years, 11 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 | « net/url_request/url_request.h ('k') | webkit/browser/fileapi/file_system_file_stream_reader.h » ('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 (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_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 const StatusCallback& callback); 266 const StatusCallback& callback);
267 267
268 private: 268 private:
269 typedef std::map<FileSystemType, FileSystemBackend*> 269 typedef std::map<FileSystemType, FileSystemBackend*>
270 FileSystemBackendMap; 270 FileSystemBackendMap;
271 271
272 // For CreateFileSystemOperation. 272 // For CreateFileSystemOperation.
273 friend class FileSystemOperationRunner; 273 friend class FileSystemOperationRunner;
274 274
275 // For sandbox_backend(). 275 // For sandbox_backend().
276 friend class SandboxFileSystemTestHelper; 276 friend class content::SandboxFileSystemTestHelper;
277 277
278 // For plugin_private_backend(). 278 // For plugin_private_backend().
279 friend class PluginPrivateFileSystemBackendTest; 279 friend class content::PluginPrivateFileSystemBackendTest;
280 280
281 // Deleters. 281 // Deleters.
282 friend struct DefaultContextDeleter; 282 friend struct DefaultContextDeleter;
283 friend class base::DeleteHelper<FileSystemContext>; 283 friend class base::DeleteHelper<FileSystemContext>;
284 friend class base::RefCountedThreadSafe<FileSystemContext, 284 friend class base::RefCountedThreadSafe<FileSystemContext,
285 DefaultContextDeleter>; 285 DefaultContextDeleter>;
286 ~FileSystemContext(); 286 ~FileSystemContext();
287 287
288 void DeleteOnCorrectThread() const; 288 void DeleteOnCorrectThread() const;
289 289
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 371
372 struct DefaultContextDeleter { 372 struct DefaultContextDeleter {
373 static void Destruct(const FileSystemContext* context) { 373 static void Destruct(const FileSystemContext* context) {
374 context->DeleteOnCorrectThread(); 374 context->DeleteOnCorrectThread();
375 } 375 }
376 }; 376 };
377 377
378 } // namespace fileapi 378 } // namespace fileapi
379 379
380 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 380 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request.h ('k') | webkit/browser/fileapi/file_system_file_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698