Index: chrome/browser/policy/url_blacklist_manager.h |
diff --git a/chrome/browser/policy/url_blacklist_manager.h b/chrome/browser/policy/url_blacklist_manager.h |
index 8233b37fe910bf6b366ee67e1a2cfe6effa468a4..521af2fbdee5f292ef4cefb45cd1a4f4a935109a 100644 |
--- a/chrome/browser/policy/url_blacklist_manager.h |
+++ b/chrome/browser/policy/url_blacklist_manager.h |
@@ -109,7 +109,7 @@ class URLBlacklistManager : public content::NotificationObserver { |
bool IsURLBlocked(const GURL& url) const; |
// Replaces the current blacklist. Must be called on the IO thread. |
- void SetBlacklist(URLBlacklist* blacklist); |
+ void SetBlacklist(scoped_ptr<URLBlacklist> blacklist); |
// Registers the preferences related to blacklisting in the given PrefService. |
static void RegisterPrefs(PrefService* pref_service); |
@@ -127,7 +127,8 @@ class URLBlacklistManager : public content::NotificationObserver { |
// Starts the blacklist update on the IO thread, using the filters in |
// |block| and |allow|. Protected for testing. |
- void UpdateOnIO(StringVector* block, StringVector* allow); |
+ void UpdateOnIO(scoped_ptr<StringVector> block, |
+ scoped_ptr<StringVector> allow); |
private: |
virtual void Observe(int type, |