| 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 "webkit/dom_storage/dom_storage_namespace.h" | 5 #include "webkit/dom_storage/dom_storage_namespace.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "webkit/dom_storage/dom_storage_area.h" | 9 #include "webkit/dom_storage/dom_storage_area.h" |
| 10 #include "webkit/dom_storage/dom_storage_task_runner.h" |
| 10 #include "webkit/dom_storage/dom_storage_types.h" | 11 #include "webkit/dom_storage/dom_storage_types.h" |
| 11 | 12 |
| 12 namespace dom_storage { | 13 namespace dom_storage { |
| 13 | 14 |
| 14 DomStorageNamespace::DomStorageNamespace( | 15 DomStorageNamespace::DomStorageNamespace( |
| 15 const FilePath& directory, | 16 const FilePath& directory, |
| 16 DomStorageTaskRunner* task_runner) | 17 DomStorageTaskRunner* task_runner) |
| 17 : namespace_id_(kLocalStorageNamespaceId), | 18 : namespace_id_(kLocalStorageNamespaceId), |
| 18 directory_(directory), | 19 directory_(directory), |
| 19 task_runner_(task_runner) { | 20 task_runner_(task_runner) { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 80 |
| 80 DomStorageNamespace::AreaHolder::AreaHolder( | 81 DomStorageNamespace::AreaHolder::AreaHolder( |
| 81 DomStorageArea* area, int count) | 82 DomStorageArea* area, int count) |
| 82 : area_(area), open_count_(count) { | 83 : area_(area), open_count_(count) { |
| 83 } | 84 } |
| 84 | 85 |
| 85 DomStorageNamespace::AreaHolder::~AreaHolder() { | 86 DomStorageNamespace::AreaHolder::~AreaHolder() { |
| 86 } | 87 } |
| 87 | 88 |
| 88 } // namespace dom_storage | 89 } // namespace dom_storage |
| OLD | NEW |