| Index: components/test_runner/web_frame_test_proxy.h
|
| diff --git a/components/test_runner/web_frame_test_proxy.h b/components/test_runner/web_frame_test_proxy.h
|
| index 15f3f01c05c0e1ea7e3e2f59049d2518b776ab07..8ee5a26e2bc8560308aed04eb873e3419f04ba0e 100644
|
| --- a/components/test_runner/web_frame_test_proxy.h
|
| +++ b/components/test_runner/web_frame_test_proxy.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/macros.h"
|
| #include "components/test_runner/test_runner_export.h"
|
| #include "components/test_runner/web_frame_test_client.h"
|
| +#include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| #include "third_party/WebKit/public/web/WebFrameClient.h"
|
| #include "third_party/WebKit/public/web/WebLocalFrame.h"
|
| @@ -191,6 +192,14 @@ class WebFrameTestProxy : public Base, public WebFrameTestProxyBase {
|
| suggestions);
|
| }
|
|
|
| + blink::WebEffectiveConnectionType getEffectiveConnectionType() override {
|
| + if (test_client()->getEffectiveConnectionType() !=
|
| + blink::WebEffectiveConnectionType::TypeUnknown) {
|
| + return test_client()->getEffectiveConnectionType();
|
| + }
|
| + return Base::getEffectiveConnectionType();
|
| + }
|
| +
|
| void runModalAlertDialog(const blink::WebString& message) override {
|
| test_client()->runModalAlertDialog(message);
|
| }
|
|
|