Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5517)

Unified Diff: chrome_frame/test/perf/chrome_frame_perftest.h

Issue 218019: Initial import of the Chrome Frame codebase. Integration in chrome.gyp coming... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/test/perf/chrome_frame_perftest.h
===================================================================
--- chrome_frame/test/perf/chrome_frame_perftest.h (revision 0)
+++ chrome_frame/test/perf/chrome_frame_perftest.h (revision 0)
@@ -0,0 +1,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_
+
« no previous file with comments | « chrome_frame/test/net/test_automation_resource_message_filter.cc ('k') | chrome_frame/test/perf/chrome_frame_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698