Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Side by Side Diff: chrome/browser/browsing_data/browsing_data_database_helper.h

Issue 124183002: Implement delete methods for the various CannedBrowsingDataHelpers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_DATABASE_HELPER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_DATABASE_HELPER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_DATABASE_HELPER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_DATABASE_HELPER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // Returns the number of currently stored databases. 135 // Returns the number of currently stored databases.
136 size_t GetDatabaseCount() const; 136 size_t GetDatabaseCount() const;
137 137
138 // Returns the current list of web databases. 138 // Returns the current list of web databases.
139 const std::set<PendingDatabaseInfo>& GetPendingDatabaseInfo(); 139 const std::set<PendingDatabaseInfo>& GetPendingDatabaseInfo();
140 140
141 // BrowsingDataDatabaseHelper implementation. 141 // BrowsingDataDatabaseHelper implementation.
142 virtual void StartFetching( 142 virtual void StartFetching(
143 const base::Callback<void(const std::list<DatabaseInfo>&)>& callback) 143 const base::Callback<void(const std::list<DatabaseInfo>&)>& callback)
144 OVERRIDE; 144 OVERRIDE;
145 virtual void DeleteDatabase(const std::string& origin_identifier,
146 const std::string& name) OVERRIDE;
145 147
146 private: 148 private:
147 virtual ~CannedBrowsingDataDatabaseHelper(); 149 virtual ~CannedBrowsingDataDatabaseHelper();
148 150
149 std::set<PendingDatabaseInfo> pending_database_info_; 151 std::set<PendingDatabaseInfo> pending_database_info_;
150 152
151 Profile* profile_; 153 Profile* profile_;
152 154
153 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataDatabaseHelper); 155 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataDatabaseHelper);
154 }; 156 };
155 157
156 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_DATABASE_HELPER_H_ 158 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_DATABASE_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698