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

Unified Diff: chrome/browser/browsing_data_helper_browsertest.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/browsing_data_helper_browsertest.h
diff --git a/chrome/browser/browsing_data_helper_browsertest.h b/chrome/browser/browsing_data_helper_browsertest.h
index d62db7a25d13c1e4a0b3804b48d63529766070da..32c1f69b3af34779ae3514d8c327856df31f44bb 100644
--- a/chrome/browser/browsing_data_helper_browsertest.h
+++ b/chrome/browser/browsing_data_helper_browsertest.h
@@ -8,7 +8,7 @@
#define CHROME_BROWSER_BROWSING_DATA_HELPER_BROWSERTEST_H_
#pragma once
-#include <vector>
+#include <list>
#include "base/basictypes.h"
#include "base/logging.h"
@@ -24,13 +24,13 @@ class BrowsingDataHelperCallback {
: has_result_(false) {
}
- const std::vector<T>& result() {
+ const std::list<T>& result() {
MessageLoop::current()->Run();
DCHECK(has_result_);
return result_;
}
- void callback(const std::vector<T>& info) {
+ void callback(const std::list<T>& info) {
result_ = info;
has_result_ = true;
MessageLoop::current()->Quit();
@@ -38,7 +38,7 @@ class BrowsingDataHelperCallback {
private:
bool has_result_;
- std::vector<T> result_;
+ std::list<T> result_;
DISALLOW_COPY_AND_ASSIGN(BrowsingDataHelperCallback);
};
« no previous file with comments | « chrome/browser/browsing_data_file_system_helper_unittest.cc ('k') | chrome/browser/browsing_data_indexed_db_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698