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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 426713002: Revert of Fix the handling of user gestures for external protocol handler dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/public/browser/resource_dispatcher_host_delegate.h" 5 #include "content/public/browser/resource_dispatcher_host_delegate.h"
6 6
7 #include "content/public/browser/stream_handle.h" 7 #include "content/public/browser/stream_handle.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 28 matching lines...) Expand all
39 ScopedVector<ResourceThrottle>* throttles) { 39 ScopedVector<ResourceThrottle>* throttles) {
40 } 40 }
41 41
42 ResourceDispatcherHostLoginDelegate* 42 ResourceDispatcherHostLoginDelegate*
43 ResourceDispatcherHostDelegate::CreateLoginDelegate( 43 ResourceDispatcherHostDelegate::CreateLoginDelegate(
44 net::AuthChallengeInfo* auth_info, 44 net::AuthChallengeInfo* auth_info,
45 net::URLRequest* request) { 45 net::URLRequest* request) {
46 return NULL; 46 return NULL;
47 } 47 }
48 48
49 bool ResourceDispatcherHostDelegate::HandleExternalProtocol( 49 bool ResourceDispatcherHostDelegate::HandleExternalProtocol(const GURL& url,
50 const GURL& url, 50 int child_id,
51 int child_id, 51 int route_id) {
52 int route_id,
53 bool initiated_by_user_gesture) {
54 return true; 52 return true;
55 } 53 }
56 54
57 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource( 55 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource(
58 const GURL& url, 56 const GURL& url,
59 const std::string& mime_type) { 57 const std::string& mime_type) {
60 return false; 58 return false;
61 } 59 }
62 60
63 bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream( 61 bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream(
(...skipping 27 matching lines...) Expand all
91 net::URLRequest* url_request) { 89 net::URLRequest* url_request) {
92 } 90 }
93 91
94 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 92 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
95 } 93 }
96 94
97 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 95 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
98 } 96 }
99 97
100 } // namespace content 98 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | extensions/browser/extension_function_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698