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

Unified Diff: content/renderer/webpublicsuffixlist_impl.cc

Issue 2194973002: Fix linker warning in broadcast_channel.mojom-blink.obj. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tighten deps Created 4 years, 5 months 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.cc
diff --git a/content/renderer/webpublicsuffixlist_impl.cc b/content/renderer/webpublicsuffixlist_impl.cc
deleted file mode 100644
index e1e00c22be28c7c42184e38d29999cb81d9f7308..0000000000000000000000000000000000000000
--- a/content/renderer/webpublicsuffixlist_impl.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 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.
-
-#include "content/renderer/webpublicsuffixlist_impl.h"
-
-#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
-
-namespace content {
-
-WebPublicSuffixListImpl::~WebPublicSuffixListImpl() {
-}
-
-size_t WebPublicSuffixListImpl::getPublicSuffixLength(
- const blink::WebString& host) {
- size_t result = net::registry_controlled_domains::GetRegistryLength(
- host.utf8(),
- net::registry_controlled_domains::INCLUDE_UNKNOWN_REGISTRIES,
- net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES);
- return result ? result : host.length();
-}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698