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

Side by Side Diff: storage/browser/fileapi/quota/quota_backend_impl.h

Issue 624063003: Replacing the OVERRIDE with override and FINAL with final in storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the error Created 6 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
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 STORAGE_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_
6 #define STORAGE_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_ 6 #define STORAGE_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 "storage/browser/fileapi/quota/quota_reservation_manager.h" 10 #include "storage/browser/fileapi/quota/quota_reservation_manager.h"
(...skipping 29 matching lines...) Expand all
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();
44 44
45 // QuotaReservationManager::QuotaBackend overrides. 45 // QuotaReservationManager::QuotaBackend overrides.
46 virtual void ReserveQuota( 46 virtual void ReserveQuota(
47 const GURL& origin, 47 const GURL& origin,
48 FileSystemType type, 48 FileSystemType type,
49 int64 delta, 49 int64 delta,
50 const ReserveQuotaCallback& callback) OVERRIDE; 50 const ReserveQuotaCallback& callback) override;
51 virtual void ReleaseReservedQuota( 51 virtual void ReleaseReservedQuota(
52 const GURL& origin, 52 const GURL& origin,
53 FileSystemType type, 53 FileSystemType type,
54 int64 size) OVERRIDE; 54 int64 size) override;
55 virtual void CommitQuotaUsage( 55 virtual void CommitQuotaUsage(
56 const GURL& origin, 56 const GURL& origin,
57 FileSystemType type, 57 FileSystemType type,
58 int64 delta) OVERRIDE; 58 int64 delta) override;
59 virtual void IncrementDirtyCount( 59 virtual void IncrementDirtyCount(
60 const GURL& origin, 60 const GURL& origin,
61 FileSystemType type) OVERRIDE; 61 FileSystemType type) override;
62 virtual void DecrementDirtyCount( 62 virtual void DecrementDirtyCount(
63 const GURL& origin, 63 const GURL& origin,
64 FileSystemType type) OVERRIDE; 64 FileSystemType type) override;
65 65
66 private: 66 private:
67 friend class content::QuotaBackendImplTest; 67 friend class content::QuotaBackendImplTest;
68 68
69 struct QuotaReservationInfo { 69 struct QuotaReservationInfo {
70 QuotaReservationInfo(const GURL& origin, FileSystemType type, int64 delta); 70 QuotaReservationInfo(const GURL& origin, FileSystemType type, int64 delta);
71 ~QuotaReservationInfo(); 71 ~QuotaReservationInfo();
72 72
73 GURL origin; 73 GURL origin;
74 FileSystemType type; 74 FileSystemType type;
(...skipping 22 matching lines...) Expand all
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 // STORAGE_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_ 106 #endif // STORAGE_BROWSER_FILEAPI_QUOTA_QUOTA_BACKEND_IMPL_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/plugin_private_file_system_backend.h ('k') | storage/browser/fileapi/remove_operation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698