| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_INDEXED_DB_INDEXED_DB_DATABASE_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ |
| 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 // This holds open or delete requests that are waiting for the active | 345 // This holds open or delete requests that are waiting for the active |
| 346 // request to be completed. The requests have not yet broadcast | 346 // request to be completed. The requests have not yet broadcast |
| 347 // OnVersionChange (if necessary). | 347 // OnVersionChange (if necessary). |
| 348 std::queue<std::unique_ptr<ConnectionRequest>> pending_requests_; | 348 std::queue<std::unique_ptr<ConnectionRequest>> pending_requests_; |
| 349 | 349 |
| 350 // The |processing_pending_requests_| flag is set while ProcessRequestQueue() | 350 // The |processing_pending_requests_| flag is set while ProcessRequestQueue() |
| 351 // is executing. It prevents rentrant calls if the active request completes | 351 // is executing. It prevents rentrant calls if the active request completes |
| 352 // synchronously. | 352 // synchronously. |
| 353 bool processing_pending_requests_ = false; | 353 bool processing_pending_requests_ = false; |
| 354 | 354 |
| 355 bool experimental_web_platform_features_enabled_; | |
| 356 | |
| 357 DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase); | 355 DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase); |
| 358 }; | 356 }; |
| 359 | 357 |
| 360 } // namespace content | 358 } // namespace content |
| 361 | 359 |
| 362 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ | 360 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ |
| OLD | NEW |