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

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

Issue 498273002: Rename storage-related export macros and build targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
19 #include "base/time/time.h" 19 #include "base/time/time.h"
20 #include "webkit/browser/fileapi/file_system_backend.h" 20 #include "webkit/browser/fileapi/file_system_backend.h"
21 #include "webkit/browser/fileapi/file_system_options.h" 21 #include "webkit/browser/fileapi/file_system_options.h"
22 #include "webkit/browser/fileapi/file_system_quota_util.h" 22 #include "webkit/browser/fileapi/file_system_quota_util.h"
23 #include "webkit/browser/webkit_storage_browser_export.h" 23 #include "webkit/browser/storage_export.h"
24 24
25 namespace base { 25 namespace base {
26 class SequencedTaskRunner; 26 class SequencedTaskRunner;
27 } 27 }
28 28
29 namespace content { 29 namespace content {
30 class SandboxFileSystemBackendDelegateTest; 30 class SandboxFileSystemBackendDelegateTest;
31 class SandboxFileSystemTestHelper; 31 class SandboxFileSystemTestHelper;
32 } 32 }
33 33
(...skipping 14 matching lines...) Expand all
48 class FileSystemOperationContext; 48 class FileSystemOperationContext;
49 class FileSystemURL; 49 class FileSystemURL;
50 class FileSystemUsageCache; 50 class FileSystemUsageCache;
51 class ObfuscatedFileUtil; 51 class ObfuscatedFileUtil;
52 class QuotaReservationManager; 52 class QuotaReservationManager;
53 class SandboxFileSystemBackend; 53 class SandboxFileSystemBackend;
54 class SandboxQuotaObserver; 54 class SandboxQuotaObserver;
55 55
56 // Delegate implementation of the some methods in Sandbox/SyncFileSystemBackend. 56 // Delegate implementation of the some methods in Sandbox/SyncFileSystemBackend.
57 // An instance of this class is created and owned by FileSystemContext. 57 // An instance of this class is created and owned by FileSystemContext.
58 class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackendDelegate 58 class STORAGE_EXPORT SandboxFileSystemBackendDelegate
59 : public FileSystemQuotaUtil { 59 : public FileSystemQuotaUtil {
60 public: 60 public:
61 typedef FileSystemBackend::OpenFileSystemCallback OpenFileSystemCallback; 61 typedef FileSystemBackend::OpenFileSystemCallback OpenFileSystemCallback;
62 62
63 // The FileSystem directory name. 63 // The FileSystem directory name.
64 static const base::FilePath::CharType kFileSystemDirectory[]; 64 static const base::FilePath::CharType kFileSystemDirectory[];
65 65
66 // Origin enumerator interface. 66 // Origin enumerator interface.
67 // An instance of this interface is assumed to be called on the file thread. 67 // An instance of this interface is assumed to be called on the file thread.
68 class OriginEnumerator { 68 class OriginEnumerator {
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 base::Time next_release_time_for_open_filesystem_stat_; 251 base::Time next_release_time_for_open_filesystem_stat_;
252 252
253 base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_; 253 base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_;
254 254
255 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate); 255 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate);
256 }; 256 };
257 257
258 } // namespace storage 258 } // namespace storage
259 259
260 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 260 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_system_backend.h ('k') | webkit/browser/fileapi/sandbox_isolated_origin_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698