Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1726)

Unified Diff: content/renderer/webpublicsuffixlist_impl.h

Issue 60893002: Chromium implementation of WebPublicSufixList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, rename to blink. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/webpublicsuffixlist_impl.h
diff --git a/content/renderer/webpublicsuffixlist_impl.h b/content/renderer/webpublicsuffixlist_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..4276f5ef7004d497f220eddfe9f46e602080360d
--- /dev/null
+++ b/content/renderer/webpublicsuffixlist_impl.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_WEBPUBLICSUFFIXLIST_IMPL_H_
+#define CONTENT_RENDERER_WEBPUBLICSUFFIXLIST_IMPL_H_
+
+#include "base/compiler_specific.h"
+#include "third_party/WebKit/public/platform/WebPublicSuffixList.h"
+
+namespace content {
+
+class WebPublicSuffixListImpl : public blink::WebPublicSuffixList {
+ public:
+ // WebPublicSuffixList methods:
+ virtual size_t getPublicSuffixLength(const blink::WebString&) OVERRIDE;
jamesr 2013/11/15 23:13:47 this is chromium, all parameters get names do not
Tom Sepez 2013/11/15 23:22:59 Done.
+ virtual ~WebPublicSuffixListImpl() OVERRIDE;
jamesr 2013/11/15 23:13:47 never use OVERRIDE for d'tors - it doesn't make se
Tom Sepez 2013/11/15 23:22:59 Done.
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_WEBPUBLICSUFFIXLIST_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698