summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/perf/chrome_frame_perftest.h
blob: 5b895f3b6e6d347fb364715db738243cee50189a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2006-2009 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.
#ifndef CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_
#define CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_
#include <atlbase.h>
#include "base/logging.h"
#include "base/perftimer.h"
#include "testing/gtest/include/gtest/gtest.h"

class SimpleModule : public CAtlExeModuleT<SimpleModule> {
 public:
  // The ATL code does not set _pAtlModule to NULL on destruction, and therefore
  // creating new module (for another test) will ASSERT in constructor.
  ~SimpleModule() {
    Term();
    _pAtlModule = NULL;
  }
};
#endif  // CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_