From b1f172a7a0044d0c839fd30c478de22e28589687 Mon Sep 17 00:00:00 2001 From: "bauerb@chromium.org" Date: Mon, 11 Apr 2011 17:26:07 +0000 Subject: Add logging to NPP_ClearSiteData call. BUG=58235 TEST=none Review URL: http://codereview.chromium.org/6826028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81114 0039d316-1c4b-4281-b951-d872f2087c98 --- content/plugin/plugin_channel.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'content/plugin') diff --git a/content/plugin/plugin_channel.cc b/content/plugin/plugin_channel.cc index 8d90601..9e2c2ce 100644 --- a/content/plugin/plugin_channel.cc +++ b/content/plugin/plugin_channel.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -275,6 +275,11 @@ void PluginChannel::OnClearSiteData(const std::string& site, max_age = kuint64max; } err = plugin_lib->NP_ClearSiteData(site_str, flags, max_age); + std::string site_name = + site.empty() ? "NULL" + : base::StringPrintf("\"%s\"", site_str); + VLOG(1) << "NPP_ClearSiteData(" << site_name << ", " << flags << ", " + << max_age << ") returned " << err; success = (err == NPERR_NO_ERROR); } } -- cgit v1.1