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

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

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Addressed comments. Created 4 years, 3 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 29 matching lines...) Expand all
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 void willFollowRedirect(blink::WebURLLoader* loader,
49 blink::WebURLRequest& new_request, 49 blink::WebURLRequest& new_request,
50 const blink::WebURLResponse& redir_response, 50 const blink::WebURLResponse& redir_response) override;
51 int64_t encoded_data_length) override;
52 void didSendData(blink::WebURLLoader* loader, 51 void didSendData(blink::WebURLLoader* loader,
53 unsigned long long bytes_sent, 52 unsigned long long bytes_sent,
54 unsigned long long total_bytes_to_be_sent) override; 53 unsigned long long total_bytes_to_be_sent) override;
55 void didReceiveResponse(blink::WebURLLoader* loader, 54 void didReceiveResponse(blink::WebURLLoader* loader,
56 const blink::WebURLResponse& response) override; 55 const blink::WebURLResponse& response) override;
57 void didDownloadData(blink::WebURLLoader* loader, 56 void didDownloadData(blink::WebURLLoader* loader,
58 int data_length, 57 int data_length,
59 int encoded_data_length) override; 58 int encoded_data_length) override;
60 void didReceiveData(blink::WebURLLoader* loader, 59 void didReceiveData(blink::WebURLLoader* loader,
61 const char* data, 60 const char* data,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 bool pending_response_; 152 bool pending_response_;
154 153
155 base::WeakPtrFactory<PepperURLLoaderHost> weak_factory_; 154 base::WeakPtrFactory<PepperURLLoaderHost> weak_factory_;
156 155
157 DISALLOW_COPY_AND_ASSIGN(PepperURLLoaderHost); 156 DISALLOW_COPY_AND_ASSIGN(PepperURLLoaderHost);
158 }; 157 };
159 158
160 } // namespace content 159 } // namespace content
161 160
162 #endif // CONTENT_RENDERER_PEPPER_PEPPER_URL_LOADER_HOST_H_ 161 #endif // CONTENT_RENDERER_PEPPER_PEPPER_URL_LOADER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698