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

Side by Side Diff: webkit/browser/fileapi/quota/quota_backend_impl.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_QUOTA_QUOTA_BACKEND_IMPL_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_
6 #define WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_ 6 #define WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "webkit/browser/fileapi/quota/quota_reservation_manager.h" 10 #include "webkit/browser/fileapi/quota/quota_reservation_manager.h"
11 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h" 11 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h"
12 #include "webkit/browser/webkit_storage_browser_export.h" 12 #include "webkit/browser/storage_export.h"
13 #include "webkit/common/quota/quota_status_code.h" 13 #include "webkit/common/quota/quota_status_code.h"
14 14
15 namespace base { 15 namespace base {
16 class SequencedTaskRunner; 16 class SequencedTaskRunner;
17 } 17 }
18 18
19 namespace content { 19 namespace content {
20 class QuotaBackendImplTest; 20 class QuotaBackendImplTest;
21 } 21 }
22 22
23 namespace storage { 23 namespace storage {
24 class QuotaManagerProxy; 24 class QuotaManagerProxy;
25 } 25 }
26 26
27 namespace storage { 27 namespace storage {
28 28
29 class FileSystemUsageCache; 29 class FileSystemUsageCache;
30 class ObfuscatedFileUtil; 30 class ObfuscatedFileUtil;
31 31
32 // An instance of this class is owned by QuotaReservationManager. 32 // An instance of this class is owned by QuotaReservationManager.
33 class WEBKIT_STORAGE_BROWSER_EXPORT QuotaBackendImpl 33 class STORAGE_EXPORT QuotaBackendImpl
34 : public QuotaReservationManager::QuotaBackend { 34 : public QuotaReservationManager::QuotaBackend {
35 public: 35 public:
36 typedef QuotaReservationManager::ReserveQuotaCallback 36 typedef QuotaReservationManager::ReserveQuotaCallback
37 ReserveQuotaCallback; 37 ReserveQuotaCallback;
38 38
39 QuotaBackendImpl(base::SequencedTaskRunner* file_task_runner, 39 QuotaBackendImpl(base::SequencedTaskRunner* file_task_runner,
40 ObfuscatedFileUtil* obfuscated_file_util, 40 ObfuscatedFileUtil* obfuscated_file_util,
41 FileSystemUsageCache* file_system_usage_cache, 41 FileSystemUsageCache* file_system_usage_cache,
42 storage::QuotaManagerProxy* quota_manager_proxy); 42 storage::QuotaManagerProxy* quota_manager_proxy);
43 virtual ~QuotaBackendImpl(); 43 virtual ~QuotaBackendImpl();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 scoped_refptr<storage::QuotaManagerProxy> quota_manager_proxy_; 97 scoped_refptr<storage::QuotaManagerProxy> quota_manager_proxy_;
98 98
99 base::WeakPtrFactory<QuotaBackendImpl> weak_ptr_factory_; 99 base::WeakPtrFactory<QuotaBackendImpl> weak_ptr_factory_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(QuotaBackendImpl); 101 DISALLOW_COPY_AND_ASSIGN(QuotaBackendImpl);
102 }; 102 };
103 103
104 } // namespace storage 104 } // namespace storage
105 105
106 #endif // WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_ 106 #endif // WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/quota/open_file_handle_context.h ('k') | webkit/browser/fileapi/quota/quota_reservation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698