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

Unified Diff: content/child/site_isolation_policy.cc

Issue 63153003: mac: Prepare for -Wunused-functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/child/site_isolation_policy.cc
diff --git a/content/child/site_isolation_policy.cc b/content/child/site_isolation_policy.cc
index a761a06f2bfa2629331e385862798a9b1db02724..e98d744194d1434ea575153179a391cfe37613b2 100644
--- a/content/child/site_isolation_policy.cc
+++ b/content/child/site_isolation_policy.cc
@@ -158,21 +158,6 @@ void HistogramCountNotBlockedResponse(const std::string& bucket_prefix,
IncrementHistogramCount(bucket_prefix + ".NotBlocked.MaybeJS");
}
-void HistogramCountPolicyDecision(
- const std::string& bucket_prefix,
- bool sniffed_as_document,
- bool sniffed_as_js,
- const SiteIsolationPolicy::ResponseMetaData& resp_data) {
- if (sniffed_as_document) {
- HistogramCountBlockedResponse(bucket_prefix, resp_data, false);
- } else {
- if (resp_data.no_sniff)
- HistogramCountBlockedResponse(bucket_prefix, resp_data, true);
- else
- HistogramCountNotBlockedResponse(bucket_prefix, sniffed_as_js);
- }
-}
-
} // namespace
SiteIsolationPolicy::ResponseMetaData::ResponseMetaData() {}
« no previous file with comments | « content/child/npapi/plugin_instance_mac.mm ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698