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