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

Unified Diff: chrome/browser/local_discovery/privet_traffic_detector.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz 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
« no previous file with comments | « chrome/browser/lifetime/application_lifetime.cc ('k') | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/privet_traffic_detector.cc
diff --git a/chrome/browser/local_discovery/privet_traffic_detector.cc b/chrome/browser/local_discovery/privet_traffic_detector.cc
index c26269893aefbc2032548ca8b878da686da48f22..e95c74f6ad31ed917fcd55e52dcf13fef3f2bedb 100644
--- a/chrome/browser/local_discovery/privet_traffic_detector.cc
+++ b/chrome/browser/local_discovery/privet_traffic_detector.cc
@@ -44,12 +44,6 @@ void GetNetworkListOnFileThread(
base::Bind(callback, ip4_networks));
}
-bool IsIpPrefixEqual(const net::IPAddressNumber& ip1,
- const net::IPAddressNumber& ip2) {
- return !ip1.empty() && ip1.size() == ip2.size() &&
- std::equal(ip1.begin(), ip1.end() - 1, ip2.begin());
-}
-
} // namespace
namespace local_discovery {
« no previous file with comments | « chrome/browser/lifetime/application_lifetime.cc ('k') | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698