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

Unified Diff: chrome/browser/mock_browsing_data_database_helper.h

Issue 8370007: base::Bind: Convert BrowsingDatabaseHelper::StartFetching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 9 years, 2 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
« no previous file with comments | « chrome/browser/cookies_tree_model.cc ('k') | chrome/browser/mock_browsing_data_database_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cd3a784b04f8a85876e458339a77f206412a7d68..4d19090f4e6ddd95fd7e19c72956a864b37cb92f 100644
--- a/chrome/browser/mock_browsing_data_database_helper.h
+++ b/chrome/browser/mock_browsing_data_database_helper.h
@@ -10,7 +10,6 @@
#include <map>
#include "base/callback.h"
-
#include "chrome/browser/browsing_data_database_helper.h"
// Mock for BrowsingDataDatabaseHelper.
@@ -21,7 +20,8 @@ class MockBrowsingDataDatabaseHelper : public BrowsingDataDatabaseHelper {
explicit MockBrowsingDataDatabaseHelper(Profile* profile);
virtual void StartFetching(
- Callback1<const std::list<DatabaseInfo>& >::Type* callback);
+ const base::Callback<void(const std::list<DatabaseInfo>&)>& callback)
+ OVERRIDE;
virtual void CancelNotification();
@@ -50,8 +50,7 @@ class MockBrowsingDataDatabaseHelper : public BrowsingDataDatabaseHelper {
Profile* profile_;
- scoped_ptr<Callback1<const std::list<DatabaseInfo>& >::Type >
- callback_;
+ base::Callback<void(const std::list<DatabaseInfo>&)> callback_;
// Stores which databases exist.
std::map<const std::string, bool> databases_;
« no previous file with comments | « chrome/browser/cookies_tree_model.cc ('k') | chrome/browser/mock_browsing_data_database_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698