| Index: chrome/browser/extensions/blacklist.h
|
| diff --git a/chrome/browser/extensions/blacklist.h b/chrome/browser/extensions/blacklist.h
|
| index e3cfc80be41bc05489d3a6a465e119da6c44827a..5df6d9ec5d6de5ebfb075b5784b4339dd154af19 100644
|
| --- a/chrome/browser/extensions/blacklist.h
|
| +++ b/chrome/browser/extensions/blacklist.h
|
| @@ -93,9 +93,14 @@ class Blacklist : public content::NotificationObserver,
|
| void IsBlacklisted(const std::string& extension_id,
|
| const IsBlacklistedCallback& callback);
|
|
|
| - // Used to mock BlacklistStateFetcher in unit tests.
|
| + // Used to mock BlacklistStateFetcher in unit tests. Blacklist owns the
|
| + // |fetcher|.
|
| void SetBlacklistStateFetcherForTest(BlacklistStateFetcher* fetcher);
|
|
|
| + // Reset the owned BlacklistStateFetcher to null and return the current
|
| + // BlacklistStateFetcher.
|
| + BlacklistStateFetcher* ResetBlacklistStateFetcherForTest();
|
| +
|
| // Adds/removes an observer to the blacklist.
|
| void AddObserver(Observer* observer);
|
| void RemoveObserver(Observer* observer);
|
|
|