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

Unified Diff: chrome/browser/mock_browsing_data_file_system_helper.h

Issue 7676002: When deleting storage through the cookies tree model, also update its cache (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates 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_file_system_helper.h
diff --git a/chrome/browser/mock_browsing_data_file_system_helper.h b/chrome/browser/mock_browsing_data_file_system_helper.h
index de55d52aafdc068a18ae71bd31735d330f0c623b..6e172eee634ae6e1135a9aff8100b4aa0485a44b 100644
--- a/chrome/browser/mock_browsing_data_file_system_helper.h
+++ b/chrome/browser/mock_browsing_data_file_system_helper.h
@@ -6,22 +6,22 @@
#define CHROME_BROWSER_MOCK_BROWSING_DATA_FILE_SYSTEM_HELPER_H_
#pragma once
+#include <list>
#include <map>
-#include <vector>
#include "base/callback.h"
#include "chrome/browser/browsing_data_file_system_helper.h"
#include "webkit/fileapi/file_system_types.h"
// Mock for BrowsingDataFileSystemHelper.
-// Use AddFileSystemSamples() or add directly to response_ vector, then call
+// Use AddFileSystemSamples() or add directly to response_ list, then call
// Notify().
class MockBrowsingDataFileSystemHelper : public BrowsingDataFileSystemHelper {
public:
explicit MockBrowsingDataFileSystemHelper(Profile* profile);
virtual void StartFetching(
- Callback1<const std::vector<FileSystemInfo>& >::Type* callback);
+ Callback1<const std::list<FileSystemInfo>& >::Type* callback);
virtual void CancelNotification();
@@ -52,13 +52,13 @@ class MockBrowsingDataFileSystemHelper : public BrowsingDataFileSystemHelper {
Profile* profile_;
- scoped_ptr<Callback1<const std::vector<FileSystemInfo>& >::Type >
+ scoped_ptr<Callback1<const std::list<FileSystemInfo>& >::Type >
callback_;
// Stores which filesystems exist.
std::map<const std::string, bool> file_systems_;
- std::vector<FileSystemInfo> response_;
+ std::list<FileSystemInfo> response_;
};
#endif // CHROME_BROWSER_MOCK_BROWSING_DATA_FILE_SYSTEM_HELPER_H_
« no previous file with comments | « chrome/browser/mock_browsing_data_database_helper.cc ('k') | chrome/browser/mock_browsing_data_file_system_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698