| 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/dom_storage/dom_storage_context_impl.h" | 5 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
| 11 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 11 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
| 12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
| 13 #include "webkit/browser/dom_storage/dom_storage_area.h" | 13 #include "webkit/browser/dom_storage/dom_storage_area.h" |
| 14 #include "webkit/browser/dom_storage/dom_storage_context.h" | 14 #include "webkit/browser/dom_storage/dom_storage_context.h" |
| 15 #include "webkit/browser/dom_storage/dom_storage_task_runner.h" | 15 #include "webkit/browser/dom_storage/dom_storage_task_runner.h" |
| 16 | 16 |
| 17 using dom_storage::DomStorageArea; | 17 using dom_storage::DomStorageArea; |
| 18 using dom_storage::DomStorageContext; | 18 using dom_storage::DomStorageContext; |
| 19 using dom_storage::DomStorageTaskRunner; | 19 using dom_storage::DomStorageTaskRunner; |
| 20 using dom_storage::DomStorageWorkerPoolTaskRunner; | 20 using dom_storage::DomStorageWorkerPoolTaskRunner; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 void DOMStorageContextImpl::Shutdown() { | 167 void DOMStorageContextImpl::Shutdown() { |
| 168 DCHECK(context_.get()); | 168 DCHECK(context_.get()); |
| 169 context_->task_runner()->PostShutdownBlockingTask( | 169 context_->task_runner()->PostShutdownBlockingTask( |
| 170 FROM_HERE, | 170 FROM_HERE, |
| 171 DomStorageTaskRunner::PRIMARY_SEQUENCE, | 171 DomStorageTaskRunner::PRIMARY_SEQUENCE, |
| 172 base::Bind(&DomStorageContext::Shutdown, context_)); | 172 base::Bind(&DomStorageContext::Shutdown, context_)); |
| 173 } | 173 } |
| 174 | 174 |
| 175 } // namespace content | 175 } // namespace content |
| OLD | NEW |