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

Unified Diff: chrome/browser/browsing_data/mock_browsing_data_file_system_helper.cc

Issue 13357004: Clear browsing data clears data for type kStorageTypeTemporary but not for kStorageTypeSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 7 years, 8 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/browsing_data/mock_browsing_data_file_system_helper.cc
diff --git a/chrome/browser/browsing_data/mock_browsing_data_file_system_helper.cc b/chrome/browser/browsing_data/mock_browsing_data_file_system_helper.cc
index 1e637bcde04e1aaa990fdf63c4ea9b3dc173856a..e650c48db0f065babb08e9dd4550c719113a45bd 100644
--- a/chrome/browser/browsing_data/mock_browsing_data_file_system_helper.cc
+++ b/chrome/browser/browsing_data/mock_browsing_data_file_system_helper.cc
@@ -27,16 +27,17 @@ void MockBrowsingDataFileSystemHelper::DeleteFileSystemOrigin(
}
void MockBrowsingDataFileSystemHelper::AddFileSystem(
- const GURL& origin, bool has_persistent, bool has_temporary) {
+ const GURL& origin, bool has_persistent, bool has_temporary,
+ bool has_syncable) {
response_.push_back(BrowsingDataFileSystemHelper::FileSystemInfo(
- origin, has_persistent, has_temporary, 0, 0));
+ origin, has_persistent, has_temporary, has_syncable, 0, 0, 0));
file_systems_[origin.spec()] = true;
}
void MockBrowsingDataFileSystemHelper::AddFileSystemSamples() {
- AddFileSystem(GURL("http://fshost1:1/"), false, true);
- AddFileSystem(GURL("http://fshost2:2/"), true, false);
- AddFileSystem(GURL("http://fshost3:3/"), true, true);
+ AddFileSystem(GURL("http://fshost1:1/"), false, true, false);
+ AddFileSystem(GURL("http://fshost2:2/"), true, false, true);
+ AddFileSystem(GURL("http://fshost3:3/"), true, true, true);
}
void MockBrowsingDataFileSystemHelper::Notify() {

Powered by Google App Engine
This is Rietveld 408576698