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 CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // Starts deleting sessionStorages which don't have an associated | 47 // Starts deleting sessionStorages which don't have an associated |
48 // SessionStorageNamespace alive. Called when SessionStorageNamespaces have | 48 // SessionStorageNamespace alive. Called when SessionStorageNamespaces have |
49 // been created after a session restore, or a session restore won't happen. | 49 // been created after a session restore, or a session restore won't happen. |
50 virtual void StartScavengingUnusedSessionStorage() = 0; | 50 virtual void StartScavengingUnusedSessionStorage() = 0; |
51 | 51 |
52 protected: | 52 protected: |
53 virtual ~DOMStorageContext() {} | 53 virtual ~DOMStorageContext() {} |
54 }; | 54 }; |
55 | 55 |
| 56 void SetWeirdInt(int val); |
| 57 |
56 } // namespace content | 58 } // namespace content |
57 | 59 |
58 #endif // CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ | 60 #endif // CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ |
OLD | NEW |