| 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 #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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |