| Index: chrome/browser/content_settings/content_settings_mock_observer.h
|
| diff --git a/chrome/browser/content_settings/content_settings_mock_observer.h b/chrome/browser/content_settings/content_settings_mock_observer.h
|
| index 0d9989f2b259ead1331e994b6a0753cd507e0eb0..5b5d6a2f971e402fe93b8dac5169f1d7639ea187 100644
|
| --- a/chrome/browser/content_settings/content_settings_mock_observer.h
|
| +++ b/chrome/browser/content_settings/content_settings_mock_observer.h
|
| @@ -10,10 +10,12 @@
|
| #include "base/macros.h"
|
| #include "components/content_settings/core/browser/content_settings_observer.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| +#include "url/gurl.h"
|
|
|
| namespace content_settings {
|
|
|
| -class MockObserver : public Observer {
|
| +class MockObserver : public Observer,
|
| + public RevocationObserver {
|
| public:
|
| MockObserver();
|
| virtual ~MockObserver();
|
| @@ -23,6 +25,13 @@ class MockObserver : public Observer {
|
| const ContentSettingsPattern& secondary_pattern,
|
| ContentSettingsType content_type,
|
| std::string resource_identifier));
|
| +
|
| + MOCK_METHOD4(OnContentSettingRevoked,
|
| + void(const GURL&,
|
| + const GURL&,
|
| + ContentSettingsType,
|
| + std::string));
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(MockObserver);
|
| };
|
|
|