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

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

Issue 10196004: Changed ChromeURLDataManager to a ProfileKeyedService and made a Factory for it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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/ui/webui/chrome_url_data_manager.h
diff --git a/chrome/browser/ui/webui/chrome_url_data_manager.h b/chrome/browser/ui/webui/chrome_url_data_manager.h
index cdaa54e8c654768f762f8c71177d96f2208dce8d..8071aee4f4129931e9278d497ed9ee94551957b0 100644
--- a/chrome/browser/ui/webui/chrome_url_data_manager.h
+++ b/chrome/browser/ui/webui/chrome_url_data_manager.h
@@ -13,6 +13,7 @@
#include "base/memory/ref_counted.h"
#include "base/message_loop_helpers.h"
#include "base/synchronization/lock.h"
+#include "chrome/browser/profiles/profile_keyed_service.h"
class ChromeURLDataManagerBackend;
class MessageLoop;
@@ -27,7 +28,7 @@ class DictionaryValue;
// with AddDataSource. DataSources must be added on the UI thread (they are also
// deleted on the UI thread). Internally the DataSources are maintained by
// ChromeURLDataManagerBackend, see it for details.
-class ChromeURLDataManager {
+class ChromeURLDataManager : public ProfileKeyedService {
public:
class DataSource;

Powered by Google App Engine
This is Rietveld 408576698