| 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 "ios/web/public/test/test_native_content_provider.h" | 5 #import "ios/web/public/test/test_native_content_provider.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 | 8 |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| 11 @implementation TestNativeContentProvider { | 11 @implementation TestNativeContentProvider { |
| 12 std::map<GURL, id<CRWNativeContent>> _nativeContent; | 12 std::map<GURL, id<CRWNativeContent>> _nativeContent; |
| 13 } | 13 } |
| 14 | 14 |
| 15 - (void)setController:(id<CRWNativeContent>)controller forURL:(const GURL&)URL { | 15 - (void)setController:(id<CRWNativeContent>)controller forURL:(const GURL&)URL { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 29 } | 29 } |
| 30 | 30 |
| 31 - (id<CRWNativeContent>)controllerForURL:(const GURL&)URL | 31 - (id<CRWNativeContent>)controllerForURL:(const GURL&)URL |
| 32 withError:(NSError*)error | 32 withError:(NSError*)error |
| 33 isPost:(BOOL)isPost { | 33 isPost:(BOOL)isPost { |
| 34 NOTREACHED(); | 34 NOTREACHED(); |
| 35 return nil; | 35 return nil; |
| 36 } | 36 } |
| 37 | 37 |
| 38 @end | 38 @end |
| OLD | NEW |