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

Side by Side Diff: content/renderer/pepper/pepper_url_loader_host.h

Issue 2230173002: Change WebURLLoaderClient::willFollowRedirect() API to return bool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 2 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_RENDERER_PEPPER_PEPPER_URL_LOADER_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_URL_LOADER_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_URL_LOADER_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_URL_LOADER_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 PP_Instance instance, 38 PP_Instance instance,
39 PP_Resource resource); 39 PP_Resource resource);
40 ~PepperURLLoaderHost() override; 40 ~PepperURLLoaderHost() override;
41 41
42 // ResourceHost implementation. 42 // ResourceHost implementation.
43 int32_t OnResourceMessageReceived( 43 int32_t OnResourceMessageReceived(
44 const IPC::Message& msg, 44 const IPC::Message& msg,
45 ppapi::host::HostMessageContext* context) override; 45 ppapi::host::HostMessageContext* context) override;
46 46
47 // blink::WebURLLoaderClient implementation. 47 // blink::WebURLLoaderClient implementation.
48 void willFollowRedirect(blink::WebURLLoader* loader, 48 bool willFollowRedirect(blink::WebURLLoader* loader,
49 blink::WebURLRequest& new_request, 49 blink::WebURLRequest& new_request,
50 const blink::WebURLResponse& redir_response) override; 50 const blink::WebURLResponse& redir_response) override;
51 void didSendData(blink::WebURLLoader* loader, 51 void didSendData(blink::WebURLLoader* loader,
52 unsigned long long bytes_sent, 52 unsigned long long bytes_sent,
53 unsigned long long total_bytes_to_be_sent) override; 53 unsigned long long total_bytes_to_be_sent) override;
54 void didReceiveResponse(blink::WebURLLoader* loader, 54 void didReceiveResponse(blink::WebURLLoader* loader,
55 const blink::WebURLResponse& response) override; 55 const blink::WebURLResponse& response) override;
56 void didDownloadData(blink::WebURLLoader* loader, 56 void didDownloadData(blink::WebURLLoader* loader,
57 int data_length, 57 int data_length,
58 int encoded_data_length) override; 58 int encoded_data_length) override;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 bool pending_response_; 152 bool pending_response_;
153 153
154 base::WeakPtrFactory<PepperURLLoaderHost> weak_factory_; 154 base::WeakPtrFactory<PepperURLLoaderHost> weak_factory_;
155 155
156 DISALLOW_COPY_AND_ASSIGN(PepperURLLoaderHost); 156 DISALLOW_COPY_AND_ASSIGN(PepperURLLoaderHost);
157 }; 157 };
158 158
159 } // namespace content 159 } // namespace content
160 160
161 #endif // CONTENT_RENDERER_PEPPER_PEPPER_URL_LOADER_HOST_H_ 161 #endif // CONTENT_RENDERER_PEPPER_PEPPER_URL_LOADER_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/media_info_loader.cc ('k') | content/renderer/pepper/pepper_url_loader_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698