summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_activex.cc
diff options
context:
space:
mode:
authorsiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-10 13:48:24 +0000
committersiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-10 13:48:24 +0000
commit04e3f3559dac2a7a5178e8f0d935d69970e2a33c (patch)
treead98622f0250323b5d7bd6adc4b51c4023b71872 /chrome_frame/chrome_frame_activex.cc
parent89d5d7d0885d18d13e94acfbd00268d46e9752ab (diff)
downloadchromium_src-04e3f3559dac2a7a5178e8f0d935d69970e2a33c.zip
chromium_src-04e3f3559dac2a7a5178e8f0d935d69970e2a33c.tar.gz
chromium_src-04e3f3559dac2a7a5178e8f0d935d69970e2a33c.tar.bz2
Instrument Chrome and Chrome Frame for some perf measurements.
BUG=none TEST=none Review URL: http://codereview.chromium.org/1989005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46812 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_activex.cc')
-rw-r--r--chrome_frame/chrome_frame_activex.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_activex.cc b/chrome_frame/chrome_frame_activex.cc
index a662153..eb1283a 100644
--- a/chrome_frame/chrome_frame_activex.cc
+++ b/chrome_frame/chrome_frame_activex.cc
@@ -18,6 +18,7 @@
#include "base/scoped_bstr_win.h"
#include "base/singleton.h"
#include "base/string_util.h"
+#include "base/trace_event.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/automation/tab_proxy.h"
@@ -112,6 +113,7 @@ HHOOK InstallLocalWindowHook(HWND window) {
ChromeFrameActivex::ChromeFrameActivex()
: chrome_wndproc_hook_(NULL) {
+ TRACE_EVENT_BEGIN("chromeframe.createactivex", this, "");
}
HRESULT ChromeFrameActivex::FinalConstruct() {
@@ -139,6 +141,8 @@ ChromeFrameActivex::~ChromeFrameActivex() {
// ChromeFramePlugin::Uninitialize()
Base::Uninitialize();
+
+ TRACE_EVENT_END("chromeframe.createactivex", this, "");
}
LRESULT ChromeFrameActivex::OnCreate(UINT message, WPARAM wparam, LPARAM lparam,