| Index: chrome/browser/renderer_host/safe_browsing_resource_handler.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/safe_browsing_resource_handler.h (revision 69724)
|
| +++ chrome/browser/renderer_host/safe_browsing_resource_handler.h (working copy)
|
| @@ -13,8 +13,6 @@
|
| #include "base/timer.h"
|
| #include "chrome/browser/renderer_host/resource_handler.h"
|
| #include "chrome/browser/safe_browsing/safe_browsing_service.h"
|
| -#include "chrome/common/notification_observer.h"
|
| -#include "chrome/common/notification_registrar.h"
|
|
|
| class ResourceDispatcherHost;
|
|
|
| @@ -41,8 +39,7 @@
|
| // If on the other hand the URL was decided to be safe, the request is
|
| // resumed.
|
| class SafeBrowsingResourceHandler : public ResourceHandler,
|
| - public SafeBrowsingService::Client,
|
| - public NotificationObserver {
|
| + public SafeBrowsingService::Client {
|
| public:
|
| SafeBrowsingResourceHandler(ResourceHandler* handler,
|
| int render_process_host_id,
|
| @@ -74,11 +71,6 @@
|
| // the user has decided to proceed with the current request, or go back.
|
| virtual void OnBlockingPageComplete(bool proceed);
|
|
|
| - // NotificationObserver interface.
|
| - virtual void Observe(NotificationType type,
|
| - const NotificationSource& source,
|
| - const NotificationDetails& details);
|
| -
|
| private:
|
| // Describes what phase of the check a handler is in.
|
| enum State {
|
| @@ -145,7 +137,6 @@
|
| int deferred_request_id_;
|
| scoped_refptr<ResourceResponse> deferred_redirect_response_;
|
|
|
| - NotificationRegistrar registrar_;
|
| scoped_refptr<ResourceHandler> next_handler_;
|
| int render_process_host_id_;
|
| int render_view_id_;
|
|
|