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

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

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Initialise encoded_body_length for sync XHR to data: URLs Created 4 years, 5 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) 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 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 public: 576 public:
577 ExternalDocumentLoader(); 577 ExternalDocumentLoader();
578 ~ExternalDocumentLoader() override; 578 ~ExternalDocumentLoader() override;
579 579
580 void ReplayReceivedData(WebURLLoaderClient* document_loader); 580 void ReplayReceivedData(WebURLLoaderClient* document_loader);
581 581
582 // blink::WebURLLoaderClient implementation. 582 // blink::WebURLLoaderClient implementation.
583 void didReceiveData(blink::WebURLLoader* loader, 583 void didReceiveData(blink::WebURLLoader* loader,
584 const char* data, 584 const char* data,
585 int data_length, 585 int data_length,
586 int encoded_data_length) override; 586 int encoded_data_length,
587 int encoded_body_length) override;
587 void didFinishLoading(blink::WebURLLoader* loader, 588 void didFinishLoading(blink::WebURLLoader* loader,
588 double finish_time, 589 double finish_time,
589 int64_t total_encoded_data_length) override; 590 int64_t total_encoded_data_length) override;
590 void didFail(blink::WebURLLoader* loader, 591 void didFail(blink::WebURLLoader* loader,
591 const blink::WebURLError& error) override; 592 const blink::WebURLError& error) override;
592 593
593 private: 594 private:
594 std::list<std::string> data_; 595 std::list<std::string> data_;
595 bool finished_loading_; 596 bool finished_loading_;
596 std::unique_ptr<blink::WebURLError> error_; 597 std::unique_ptr<blink::WebURLError> error_;
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 // view change events. 993 // view change events.
993 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 994 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
994 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 995 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
995 996
996 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 997 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
997 }; 998 };
998 999
999 } // namespace content 1000 } // namespace content
1000 1001
1001 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 1002 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/media_info_loader_unittest.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698