summaryrefslogtreecommitdiffstats
path: root/content/plugin
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 17:26:07 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-11 17:26:07 +0000
commitb1f172a7a0044d0c839fd30c478de22e28589687 (patch)
treee0fec88f881f3e58b605026e740ad0dd74ced95b /content/plugin
parent692ba95c31361eb2bf22fdfd344ee78ec2725a14 (diff)
downloadchromium_src-b1f172a7a0044d0c839fd30c478de22e28589687.zip
chromium_src-b1f172a7a0044d0c839fd30c478de22e28589687.tar.gz
chromium_src-b1f172a7a0044d0c839fd30c478de22e28589687.tar.bz2
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
Diffstat (limited to 'content/plugin')
-rw-r--r--content/plugin/plugin_channel.cc7
1 files changed, 6 insertions, 1 deletions
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);
}
}