Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Side by Side Diff: content/browser/renderer_host/resource_dispatcher_host_delegate.h

Issue 7135003: Remove last extension dependencies from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Creates a ResourceDispatcherHostLoginDelegate that asks the user for a 76 // Creates a ResourceDispatcherHostLoginDelegate that asks the user for a
77 // username and password. 77 // username and password.
78 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 78 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
79 net::AuthChallengeInfo* auth_info, net::URLRequest* request); 79 net::AuthChallengeInfo* auth_info, net::URLRequest* request);
80 80
81 // Launches the url for the given tab. 81 // Launches the url for the given tab.
82 virtual void HandleExternalProtocol(const GURL& url, 82 virtual void HandleExternalProtocol(const GURL& url,
83 int child_id, 83 int child_id,
84 int route_id); 84 int route_id);
85 85
86 // Returns true if we should force the given resource to be downloaded.
87 // Otherwise, the content layer decides.
88 virtual bool ShouldForceDownloadResource(
89 const GURL& url, const std::string& mime_type);
90
86 protected: 91 protected:
87 ResourceDispatcherHostDelegate(); 92 ResourceDispatcherHostDelegate();
88 virtual ~ResourceDispatcherHostDelegate(); 93 virtual ~ResourceDispatcherHostDelegate();
89 }; 94 };
90 95
91 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 96 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698