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

Unified Diff: chrome/browser/mock_browsing_data_indexed_db_helper.h

Issue 7692016: Delete indexedDBs from the cookie tree ui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/mock_browsing_data_indexed_db_helper.h
===================================================================
--- chrome/browser/mock_browsing_data_indexed_db_helper.h (revision 97928)
+++ chrome/browser/mock_browsing_data_indexed_db_helper.h (working copy)
@@ -19,7 +19,7 @@
class MockBrowsingDataIndexedDBHelper
: public BrowsingDataIndexedDBHelper {
public:
- explicit MockBrowsingDataIndexedDBHelper(Profile* profile);
+ MockBrowsingDataIndexedDBHelper();
// Adds some IndexedDBInfo samples.
void AddIndexedDBSamples();
@@ -38,20 +38,13 @@
virtual void StartFetching(
Callback1<const std::list<IndexedDBInfo>& >::Type* callback);
virtual void CancelNotification();
- virtual void DeleteIndexedDBFile(const FilePath& file_path);
+ virtual void DeleteIndexedDB(const GURL& origin);
- FilePath last_deleted_file_;
-
private:
virtual ~MockBrowsingDataIndexedDBHelper();
- Profile* profile_;
-
- scoped_ptr<Callback1<const std::list<IndexedDBInfo>& >::Type >
- callback_;
-
- std::map<const FilePath::StringType, bool> files_;
-
+ scoped_ptr<Callback1<const std::list<IndexedDBInfo>& >::Type > callback_;
+ std::map<GURL, bool> origins_;
std::list<IndexedDBInfo> response_;
};
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/mock_browsing_data_indexed_db_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698