OLD | NEW |
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 CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
6 #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 6 #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 const base::Time begin, | 110 const base::Time begin, |
111 const base::Time end, | 111 const base::Time end, |
112 const base::Closure& callback) override; | 112 const base::Closure& callback) override; |
113 | 113 |
114 void ClearHttpAndMediaCaches( | 114 void ClearHttpAndMediaCaches( |
115 const base::Time begin, | 115 const base::Time begin, |
116 const base::Time end, | 116 const base::Time end, |
117 const base::Callback<bool(const GURL&)>& url_matcher, | 117 const base::Callback<bool(const GURL&)>& url_matcher, |
118 const base::Closure& callback) override; | 118 const base::Closure& callback) override; |
119 | 119 |
120 void Flush() override; | 120 std::vector<scoped_refptr<base::SequencedTaskRunner>> Flush() override; |
121 | 121 |
122 // Can return nullptr while |this| is being destroyed. | 122 // Can return nullptr while |this| is being destroyed. |
123 BrowserContext* browser_context() const; | 123 BrowserContext* browser_context() const; |
124 | 124 |
125 // Called by each renderer process once. | 125 // Called by each renderer process once. |
126 void Bind(mojo::InterfaceRequest<mojom::StoragePartitionService> request); | 126 void Bind(mojo::InterfaceRequest<mojom::StoragePartitionService> request); |
127 | 127 |
128 struct DataDeletionHelper; | 128 struct DataDeletionHelper; |
129 struct QuotaManagedDataDeletionHelper; | 129 struct QuotaManagedDataDeletionHelper; |
130 | 130 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 BrowserContext* browser_context_; | 242 BrowserContext* browser_context_; |
243 | 243 |
244 base::WeakPtrFactory<StoragePartitionImpl> weak_factory_; | 244 base::WeakPtrFactory<StoragePartitionImpl> weak_factory_; |
245 | 245 |
246 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); | 246 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
247 }; | 247 }; |
248 | 248 |
249 } // namespace content | 249 } // namespace content |
250 | 250 |
251 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 251 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
OLD | NEW |