| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEBPUBLICSUFFIXLIST_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_WEBPUBLICSUFFIXLIST_IMPL_H_ |
| 6 #define CONTENT_RENDERER_WEBPUBLICSUFFIXLIST_IMPL_H_ | 6 #define CONTENT_RENDERER_WEBPUBLICSUFFIXLIST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "third_party/WebKit/public/platform/WebPublicSuffixList.h" | 11 #include "third_party/WebKit/public/platform/WebPublicSuffixList.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 class WebPublicSuffixListImpl : public blink::WebPublicSuffixList { | 15 class WebPublicSuffixListImpl : public blink::WebPublicSuffixList { |
| 16 public: | 16 public: |
| 17 // WebPublicSuffixList methods: | 17 // WebPublicSuffixList methods: |
| 18 size_t getPublicSuffixLength(const blink::WebString& host) override; | 18 size_t getPublicSuffixLength(const blink::WebString&) override; |
| 19 ~WebPublicSuffixListImpl() override; | 19 ~WebPublicSuffixListImpl() override; |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 } // namespace content | 22 } // namespace content |
| 23 | 23 |
| 24 #endif // CONTENT_RENDERER_WEBPUBLICSUFFIXLIST_IMPL_H_ | 24 #endif // CONTENT_RENDERER_WEBPUBLICSUFFIXLIST_IMPL_H_ |
| OLD | NEW |