Bug 719917. Add some more network and plugin related SAMPLE_LABELs. r=bgirard

This commit is contained in:
Jeff Muizelaar
2012-01-18 19:53:35 -05:00
parent 188f53b520
commit 27ec80d3d9
8 changed files with 14 additions and 2 deletions

View File

@@ -47,6 +47,7 @@
#include "nsContentPolicyUtils.h"
#include "nsIPropertyBag2.h"
#include "mozilla/dom/Element.h"
#include "sampler.h"
namespace mozilla {
namespace dom {
@@ -113,6 +114,7 @@ private:
NS_IMETHODIMP
PluginStreamListener::OnStartRequest(nsIRequest* request, nsISupports *ctxt)
{
SAMPLE_LABEL("PluginStreamListener", "OnStartRequest");
// Have to set up our plugin stuff before we call OnStartRequest, so
// that the plugin listener can get that call.
nsresult rv = SetupPlugin();