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,18 @@ |
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_url); |
- FilePath last_deleted_file_; |
- |
private: |
virtual ~MockBrowsingDataIndexedDBHelper(); |
- Profile* profile_; |
+ const GURL kOrigin1; |
+ const GURL kOrigin2; |
+ bool origin1_deleted_; |
+ bool origin2_deleted_; |
scoped_ptr<Callback1<const std::list<IndexedDBInfo>& >::Type > |
callback_; |
- |
- std::map<const FilePath::StringType, bool> files_; |
- |
std::list<IndexedDBInfo> response_; |
}; |