OLD | NEW |
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 CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ | 5 #ifndef CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ |
6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ | 6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 scoped_refptr<DOMStorageTaskRunner> task_runner_; | 168 scoped_refptr<DOMStorageTaskRunner> task_runner_; |
169 scoped_refptr<DOMStorageMap> map_; | 169 scoped_refptr<DOMStorageMap> map_; |
170 scoped_ptr<DOMStorageDatabaseAdapter> backing_; | 170 scoped_ptr<DOMStorageDatabaseAdapter> backing_; |
171 scoped_refptr<SessionStorageDatabase> session_storage_backing_; | 171 scoped_refptr<SessionStorageDatabase> session_storage_backing_; |
172 bool is_initial_import_done_; | 172 bool is_initial_import_done_; |
173 bool is_shutdown_; | 173 bool is_shutdown_; |
174 scoped_ptr<CommitBatch> commit_batch_; | 174 scoped_ptr<CommitBatch> commit_batch_; |
175 int commit_batches_in_flight_; | 175 int commit_batches_in_flight_; |
176 base::TimeTicks start_time_; | 176 base::TimeTicks start_time_; |
177 RateLimiter data_rate_limiter_; | 177 RateLimiter data_rate_limiter_; |
178 RateLimiter commit_rate_limiter_; | |
179 | 178 |
180 DISALLOW_COPY_AND_ASSIGN(DOMStorageArea); | 179 DISALLOW_COPY_AND_ASSIGN(DOMStorageArea); |
181 }; | 180 }; |
182 | 181 |
183 } // namespace content | 182 } // namespace content |
184 | 183 |
185 #endif // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ | 184 #endif // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ |
OLD | NEW |