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 CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_INDEXED_DB_HELPER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_INDEXED_DB_HELPER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // Returns the number of currently stored indexed databases. | 110 // Returns the number of currently stored indexed databases. |
111 size_t GetIndexedDBCount() const; | 111 size_t GetIndexedDBCount() const; |
112 | 112 |
113 // Returns the current list of indexed data bases. | 113 // Returns the current list of indexed data bases. |
114 const std::set<CannedBrowsingDataIndexedDBHelper::PendingIndexedDBInfo>& | 114 const std::set<CannedBrowsingDataIndexedDBHelper::PendingIndexedDBInfo>& |
115 GetIndexedDBInfo() const; | 115 GetIndexedDBInfo() const; |
116 | 116 |
117 // BrowsingDataIndexedDBHelper methods. | 117 // BrowsingDataIndexedDBHelper methods. |
118 virtual void StartFetching( | 118 virtual void StartFetching( |
119 const base::Callback<void(const std::list<content::IndexedDBInfo>&)>& | 119 const base::Callback<void(const std::list<content::IndexedDBInfo>&)>& |
120 callback) OVERRIDE; | 120 callback) override; |
121 virtual void DeleteIndexedDB(const GURL& origin) OVERRIDE; | 121 virtual void DeleteIndexedDB(const GURL& origin) override; |
122 | 122 |
123 private: | 123 private: |
124 virtual ~CannedBrowsingDataIndexedDBHelper(); | 124 virtual ~CannedBrowsingDataIndexedDBHelper(); |
125 | 125 |
126 std::set<PendingIndexedDBInfo> pending_indexed_db_info_; | 126 std::set<PendingIndexedDBInfo> pending_indexed_db_info_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataIndexedDBHelper); | 128 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataIndexedDBHelper); |
129 }; | 129 }; |
130 | 130 |
131 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 131 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_INDEXED_DB_HELPER_H_ |
OLD | NEW |