| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "config.h" | 5 #include "config.h" |
| 6 #include "NavigatorContentUtilsClientMock.h" | 6 #include "NavigatorContentUtilsClientMock.h" |
| 7 | 7 |
| 8 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" | 8 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" |
| 9 #include "platform/weborigin/KURL.h" | 9 #include "platform/weborigin/KURL.h" |
| 10 #include "wtf/text/StringHash.h" | 10 #include "wtf/text/StringHash.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 return NavigatorContentUtilsClient::CustomHandlersNew; | 33 return NavigatorContentUtilsClient::CustomHandlersNew; |
| 34 } | 34 } |
| 35 | 35 |
| 36 void NavigatorContentUtilsClientMock::unregisterProtocolHandler(const String& sc
heme, const blink::KURL& baseURL, | 36 void NavigatorContentUtilsClientMock::unregisterProtocolHandler(const String& sc
heme, const blink::KURL& baseURL, |
| 37 const blink::KURL& url) | 37 const blink::KURL& url) |
| 38 { | 38 { |
| 39 m_protocolMap.remove(scheme); | 39 m_protocolMap.remove(scheme); |
| 40 } | 40 } |
| 41 | 41 |
| 42 } // WebCore | 42 } // namespace blink |
| OLD | NEW |