| Index: chrome/browser/mock_browsing_data_database_helper.h
|
| diff --git a/chrome/browser/mock_browsing_data_database_helper.h b/chrome/browser/mock_browsing_data_database_helper.h
|
| index e925e0b8fbcfa86211777111bff0fb7776a7414f..a4590779d8976e39a8600386cf43a7c005865abe 100644
|
| --- a/chrome/browser/mock_browsing_data_database_helper.h
|
| +++ b/chrome/browser/mock_browsing_data_database_helper.h
|
| @@ -6,22 +6,22 @@
|
| #define CHROME_BROWSER_MOCK_BROWSING_DATA_DATABASE_HELPER_H_
|
| #pragma once
|
|
|
| +#include <list>
|
| #include <map>
|
| -#include <vector>
|
|
|
| #include "base/callback.h"
|
|
|
| #include "chrome/browser/browsing_data_database_helper.h"
|
|
|
| // Mock for BrowsingDataDatabaseHelper.
|
| -// Use AddDatabaseSamples() or add directly to response_ vector, then call
|
| +// Use AddDatabaseSamples() or add directly to response_ list, then call
|
| // Notify().
|
| class MockBrowsingDataDatabaseHelper : public BrowsingDataDatabaseHelper {
|
| public:
|
| explicit MockBrowsingDataDatabaseHelper(Profile* profile);
|
|
|
| virtual void StartFetching(
|
| - Callback1<const std::vector<DatabaseInfo>& >::Type* callback);
|
| + Callback1<const std::list<DatabaseInfo>& >::Type* callback);
|
|
|
| virtual void CancelNotification();
|
|
|
| @@ -50,13 +50,13 @@ class MockBrowsingDataDatabaseHelper : public BrowsingDataDatabaseHelper {
|
|
|
| Profile* profile_;
|
|
|
| - scoped_ptr<Callback1<const std::vector<DatabaseInfo>& >::Type >
|
| + scoped_ptr<Callback1<const std::list<DatabaseInfo>& >::Type >
|
| callback_;
|
|
|
| // Stores which databases exist.
|
| std::map<const std::string, bool> databases_;
|
|
|
| - std::vector<DatabaseInfo> response_;
|
| + std::list<DatabaseInfo> response_;
|
| };
|
|
|
| #endif // CHROME_BROWSER_MOCK_BROWSING_DATA_DATABASE_HELPER_H_
|
|
|