Chromium Code Reviews| 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/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/message_loop_proxy.h" | 10 #include "base/message_loop_proxy.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 122 base::Bind(&DomStorageContext::SetForceKeepSessionState, context_)); | 122 base::Bind(&DomStorageContext::SetForceKeepSessionState, context_)); |
| 123 } | 123 } |
| 124 | 124 |
| 125 void DOMStorageContextImpl::Shutdown() { | 125 void DOMStorageContextImpl::Shutdown() { |
| 126 DCHECK(context_); | 126 DCHECK(context_); |
| 127 context_->task_runner()->PostShutdownBlockingTask( | 127 context_->task_runner()->PostShutdownBlockingTask( |
| 128 FROM_HERE, | 128 FROM_HERE, |
| 129 DomStorageTaskRunner::PRIMARY_SEQUENCE, | 129 DomStorageTaskRunner::PRIMARY_SEQUENCE, |
| 130 base::Bind(&DomStorageContext::Shutdown, context_)); | 130 base::Bind(&DomStorageContext::Shutdown, context_)); |
| 131 } | 131 } |
| 132 | |
| 133 void DOMStorageContextImpl::DisableCommitDelayForTesting() { | |
|
sky
2012/10/10 16:45:49
Order doesn't match header.
marja
2012/10/11 11:58:30
Done.
| |
| 134 DomStorageArea::DisableCommitDelayForTesting(); | |
| 135 } | |
| OLD | NEW |