| 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 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 5 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 } | 565 } |
| 566 return origin_set_.get(); | 566 return origin_set_.get(); |
| 567 } | 567 } |
| 568 | 568 |
| 569 void IndexedDBContextImpl::ResetCaches() { | 569 void IndexedDBContextImpl::ResetCaches() { |
| 570 origin_set_.reset(); | 570 origin_set_.reset(); |
| 571 origin_size_map_.clear(); | 571 origin_size_map_.clear(); |
| 572 space_available_map_.clear(); | 572 space_available_map_.clear(); |
| 573 } | 573 } |
| 574 | 574 |
| 575 base::TaskRunner* IndexedDBContextImpl::TaskRunner() const { | 575 base::SequencedTaskRunner* IndexedDBContextImpl::TaskRunner() const { |
| 576 return task_runner_; | 576 return task_runner_; |
| 577 } | 577 } |
| 578 | 578 |
| 579 } // namespace content | 579 } // namespace content |
| OLD | NEW |