| OLD | NEW |
| 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/resource_request_info.h" | 7 #include "content/public/browser/resource_request_info.h" |
| 8 #include "content/public/browser/stream_info.h" | 8 #include "content/public/browser/stream_info.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 net::URLRequest* request, | 63 net::URLRequest* request, |
| 64 const base::FilePath& plugin_path, | 64 const base::FilePath& plugin_path, |
| 65 const std::string& mime_type, | 65 const std::string& mime_type, |
| 66 GURL* origin, | 66 GURL* origin, |
| 67 std::string* payload) { | 67 std::string* payload) { |
| 68 return false; | 68 return false; |
| 69 } | 69 } |
| 70 | 70 |
| 71 void ResourceDispatcherHostDelegate::OnStreamCreated( | 71 void ResourceDispatcherHostDelegate::OnStreamCreated( |
| 72 net::URLRequest* request, | 72 net::URLRequest* request, |
| 73 scoped_ptr<content::StreamInfo> stream) { | 73 std::unique_ptr<content::StreamInfo> stream) {} |
| 74 } | |
| 75 | 74 |
| 76 void ResourceDispatcherHostDelegate::OnResponseStarted( | 75 void ResourceDispatcherHostDelegate::OnResponseStarted( |
| 77 net::URLRequest* request, | 76 net::URLRequest* request, |
| 78 ResourceContext* resource_context, | 77 ResourceContext* resource_context, |
| 79 ResourceResponse* response, | 78 ResourceResponse* response, |
| 80 IPC::Sender* sender) { | 79 IPC::Sender* sender) { |
| 81 } | 80 } |
| 82 | 81 |
| 83 void ResourceDispatcherHostDelegate::OnRequestRedirected( | 82 void ResourceDispatcherHostDelegate::OnRequestRedirected( |
| 84 const GURL& redirect_url, | 83 const GURL& redirect_url, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 97 return false; | 96 return false; |
| 98 } | 97 } |
| 99 | 98 |
| 100 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { | 99 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { |
| 101 } | 100 } |
| 102 | 101 |
| 103 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { | 102 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
| 104 } | 103 } |
| 105 | 104 |
| 106 } // namespace content | 105 } // namespace content |
| OLD | NEW |