| 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 #ifndef WEBKIT_DOM_STORAGE_DOM_STORAGE_AREA_H_ | 5 #ifndef WEBKIT_DOM_STORAGE_DOM_STORAGE_AREA_H_ |
| 6 #define WEBKIT_DOM_STORAGE_DOM_STORAGE_AREA_H_ | 6 #define WEBKIT_DOM_STORAGE_DOM_STORAGE_AREA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 11 #include "base/nullable_string16.h" | 12 #include "base/nullable_string16.h" |
| 12 #include "base/string16.h" | 13 #include "base/string16.h" |
| 13 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 14 #include "webkit/dom_storage/dom_storage_task_runner.h" | 15 #include "webkit/dom_storage/dom_storage_task_runner.h" |
| 15 | 16 |
| 16 class FilePath; | 17 class FilePath; |
| 17 class GURL; | 18 class GURL; |
| 18 | 19 |
| 19 namespace dom_storage { | 20 namespace dom_storage { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 FilePath directory_; | 57 FilePath directory_; |
| 57 scoped_refptr<DomStorageTaskRunner> task_runner_; | 58 scoped_refptr<DomStorageTaskRunner> task_runner_; |
| 58 scoped_refptr<DomStorageMap> map_; | 59 scoped_refptr<DomStorageMap> map_; |
| 59 // TODO(benm): integrate with DomStorageDatabase to read from | 60 // TODO(benm): integrate with DomStorageDatabase to read from |
| 60 // and lazily write to disk. | 61 // and lazily write to disk. |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 } // namespace dom_storage | 64 } // namespace dom_storage |
| 64 | 65 |
| 65 #endif // WEBKIT_DOM_STORAGE_DOM_STORAGE_AREA_H_ | 66 #endif // WEBKIT_DOM_STORAGE_DOM_STORAGE_AREA_H_ |
| OLD | NEW |