X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Frenderer_host%2Fchrome_resource_dispatcher_host_delegate.h;h=fc41b85d714e595e6a872100e06111c1bd18c651;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=dc4d7469bd72b160fbaf2aeca840b4b6948ad9c3;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h b/src/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h index dc4d746..fc41b85 100644 --- a/src/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h +++ b/src/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h @@ -35,21 +35,20 @@ class ChromeResourceDispatcherHostDelegate // |prerender_tracker| must outlive |this|. explicit ChromeResourceDispatcherHostDelegate( prerender::PrerenderTracker* prerender_tracker); - virtual ~ChromeResourceDispatcherHostDelegate(); + ~ChromeResourceDispatcherHostDelegate() override; // ResourceDispatcherHostDelegate implementation. - virtual bool ShouldBeginRequest( - const std::string& method, - const GURL& url, - content::ResourceType resource_type, - content::ResourceContext* resource_context) OVERRIDE; - virtual void RequestBeginning( + bool ShouldBeginRequest(const std::string& method, + const GURL& url, + content::ResourceType resource_type, + content::ResourceContext* resource_context) override; + void RequestBeginning( net::URLRequest* request, content::ResourceContext* resource_context, content::AppCacheService* appcache_service, content::ResourceType resource_type, - ScopedVector* throttles) OVERRIDE; - virtual void DownloadStarting( + ScopedVector* throttles) override; + void DownloadStarting( net::URLRequest* request, content::ResourceContext* resource_context, int child_id, @@ -57,33 +56,30 @@ class ChromeResourceDispatcherHostDelegate int request_id, bool is_content_initiated, bool must_download, - ScopedVector* throttles) OVERRIDE; - virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( - net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; - virtual bool HandleExternalProtocol(const GURL& url, - int child_id, - int route_id) OVERRIDE; - virtual bool ShouldForceDownloadResource( - const GURL& url, const std::string& mime_type) OVERRIDE; - virtual bool ShouldInterceptResourceAsStream( - net::URLRequest* request, - const std::string& mime_type, - GURL* origin, - std::string* payload) OVERRIDE; - virtual void OnStreamCreated( - net::URLRequest* request, - scoped_ptr stream) OVERRIDE; - virtual void OnResponseStarted( - net::URLRequest* request, - content::ResourceContext* resource_context, - content::ResourceResponse* response, - IPC::Sender* sender) OVERRIDE; - virtual void OnRequestRedirected( - const GURL& redirect_url, - net::URLRequest* request, - content::ResourceContext* resource_context, - content::ResourceResponse* response) OVERRIDE; - virtual void RequestComplete(net::URLRequest* url_request) OVERRIDE; + ScopedVector* throttles) override; + content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( + net::AuthChallengeInfo* auth_info, + net::URLRequest* request) override; + bool HandleExternalProtocol(const GURL& url, + int child_id, + int route_id) override; + bool ShouldForceDownloadResource(const GURL& url, + const std::string& mime_type) override; + bool ShouldInterceptResourceAsStream(net::URLRequest* request, + const std::string& mime_type, + GURL* origin, + std::string* payload) override; + void OnStreamCreated(net::URLRequest* request, + scoped_ptr stream) override; + void OnResponseStarted(net::URLRequest* request, + content::ResourceContext* resource_context, + content::ResourceResponse* response, + IPC::Sender* sender) override; + void OnRequestRedirected(const GURL& redirect_url, + net::URLRequest* request, + content::ResourceContext* resource_context, + content::ResourceResponse* response) override; + void RequestComplete(net::URLRequest* url_request) override; // Called on the UI thread. Allows switching out the // ExternalProtocolHandler::Delegate for testing code.