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

Unified Diff: chrome/browser/ui/webui/chrome_url_data_manager.h

Issue 7384008: Revert 92668 - Remove more unnecessary ChromeURLRequestContext members. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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/ui/webui/chrome_url_data_manager.h
===================================================================
--- chrome/browser/ui/webui/chrome_url_data_manager.h (revision 92669)
+++ chrome/browser/ui/webui/chrome_url_data_manager.h (working copy)
@@ -8,7 +8,6 @@
#include <string>
-#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/task.h"
#include "content/browser/browser_thread.h"
@@ -141,8 +140,7 @@
ChromeURLDataManagerBackend* backend_;
};
- explicit ChromeURLDataManager(
- const base::Callback<ChromeURLDataManagerBackend*(void)>& backend);
+ explicit ChromeURLDataManager(Profile* profile);
~ChromeURLDataManager();
// Adds a DataSource to the collection of data sources. This *must* be invoked
@@ -173,10 +171,7 @@
// was invoked).
static bool IsScheduledForDeletion(const DataSource* data_source);
- // A callback that returns the ChromeURLDataManagerBackend. Only accessible on
- // the IO thread. This is necessary because ChromeURLDataManager is created on
- // the UI thread, but ChromeURLDataManagerBackend lives on the IO thread.
- const base::Callback<ChromeURLDataManagerBackend*(void)> backend_;
+ Profile* profile_;
// Lock used when accessing |data_sources_|.
static base::Lock delete_lock_;
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | chrome/browser/ui/webui/chrome_url_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698