summaryrefslogtreecommitdiffstats
path: root/ceee/ie/plugin/bho/infobar_events_funnel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ceee/ie/plugin/bho/infobar_events_funnel.cc')
-rw-r--r--ceee/ie/plugin/bho/infobar_events_funnel.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/ceee/ie/plugin/bho/infobar_events_funnel.cc b/ceee/ie/plugin/bho/infobar_events_funnel.cc
new file mode 100644
index 0000000..d1a0b67
--- /dev/null
+++ b/ceee/ie/plugin/bho/infobar_events_funnel.cc
@@ -0,0 +1,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);
+}