summaryrefslogtreecommitdiffstats
path: root/ceee/ie/plugin/bho/infobar_events_funnel.cc
blob: d1a0b67de382826e5e0c5c6e6764c2a8d08dd7f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2010 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.
//
// Funnel of Chrome Extension Infobar Events to the Broker.

#include "ceee/ie/plugin/bho/infobar_events_funnel.h"

#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "base/values.h"
#include "base/json/json_writer.h"

namespace {
const char kOnDocumentCompleteEventName[] = "infobar.onDocumentComplete";
}

HRESULT InfobarEventsFunnel::OnDocumentComplete() {
  DictionaryValue info;
  return SendEvent(kOnDocumentCompleteEventName, info);
}