| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "platform/testing/weburl_loader_mock.h" | 5 #include "platform/testing/weburl_loader_mock.h" |
| 6 | 6 |
| 7 #include "platform/testing/weburl_loader_mock_factory_impl.h" | 7 #include "platform/testing/weburl_loader_mock_factory_impl.h" |
| 8 #include "public/platform/URLConversion.h" | 8 #include "public/platform/URLConversion.h" |
| 9 #include "public/platform/WebData.h" | 9 #include "public/platform/WebData.h" |
| 10 #include "public/platform/WebURLError.h" | 10 #include "public/platform/WebURLError.h" |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 base::SingleThreadTaskRunner* runner) { | 163 base::SingleThreadTaskRunner* runner) { |
| 164 // In principle this is NOTIMPLEMENTED(), but if we put that here it floods | 164 // In principle this is NOTIMPLEMENTED(), but if we put that here it floods |
| 165 // the console during webkit unit tests, so we leave the function empty. | 165 // the console during webkit unit tests, so we leave the function empty. |
| 166 DCHECK(runner); | 166 DCHECK(runner); |
| 167 } | 167 } |
| 168 | 168 |
| 169 WeakPtr<WebURLLoaderMock> WebURLLoaderMock::GetWeakPtr() { | 169 WeakPtr<WebURLLoaderMock> WebURLLoaderMock::GetWeakPtr() { |
| 170 return weak_factory_.CreateWeakPtr(); | 170 return weak_factory_.CreateWeakPtr(); |
| 171 } | 171 } |
| 172 | 172 |
| 173 } // namespace blink | 173 } // namespace blink |
| OLD | NEW |