OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // True if no indexed databases are currently stored. | 106 // True if no indexed databases are currently stored. |
107 bool empty() const; | 107 bool empty() const; |
108 | 108 |
109 // BrowsingDataIndexedDBHelper methods. | 109 // BrowsingDataIndexedDBHelper methods. |
110 virtual void StartFetching( | 110 virtual void StartFetching( |
111 Callback1<const std::vector<IndexedDBInfo>& >::Type* callback); | 111 Callback1<const std::vector<IndexedDBInfo>& >::Type* callback); |
112 virtual void CancelNotification() {} | 112 virtual void CancelNotification() {} |
113 virtual void DeleteIndexedDBFile(const FilePath& file_path) {} | 113 virtual void DeleteIndexedDBFile(const FilePath& file_path) {} |
114 | 114 |
115 private: | 115 private: |
116 virtual ~CannedBrowsingDataIndexedDBHelper() {} | 116 virtual ~CannedBrowsingDataIndexedDBHelper(); |
117 | 117 |
118 Profile* profile_; | 118 Profile* profile_; |
119 | 119 |
120 std::vector<IndexedDBInfo> indexed_db_info_; | 120 std::vector<IndexedDBInfo> indexed_db_info_; |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataIndexedDBHelper); | 122 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataIndexedDBHelper); |
123 }; | 123 }; |
124 | 124 |
125 #endif // CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 125 #endif // CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ |
OLD | NEW |