OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 #ifndef CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_ |
| 5 #define CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_ |
| 6 #include <atlbase.h> |
| 7 #include "base/logging.h" |
| 8 #include "base/perftimer.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 |
| 11 class SimpleModule : public CAtlExeModuleT<SimpleModule> { |
| 12 public: |
| 13 // The ATL code does not set _pAtlModule to NULL on destruction, and therefore |
| 14 // creating new module (for another test) will ASSERT in constructor. |
| 15 ~SimpleModule() { |
| 16 Term(); |
| 17 _pAtlModule = NULL; |
| 18 } |
| 19 }; |
| 20 #endif // CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_ |
| 21 |
OLD | NEW |