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

Side by Side Diff: chrome_frame/test/perf/chrome_frame_perftest.h

Issue 23985006: base: Split logging functions and PerfTimeLogger out of perftimer.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix visitedlink Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/perf/url_parse_perftest.cc ('k') | chrome_frame/test/perf/chrome_frame_perftest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4
4 #ifndef CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_ 5 #ifndef CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_
5 #define CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_ 6 #define CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_
7
6 #include <atlbase.h> 8 #include <atlbase.h>
7 #include "base/test/perftimer.h"
8 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
9 10
10 class SimpleModule : public CAtlExeModuleT<SimpleModule> { 11 class SimpleModule : public CAtlExeModuleT<SimpleModule> {
11 public: 12 public:
12 // The ATL code does not set _pAtlModule to NULL on destruction, and therefore 13 // The ATL code does not set _pAtlModule to NULL on destruction, and therefore
13 // creating new module (for another test) will ASSERT in constructor. 14 // creating new module (for another test) will ASSERT in constructor.
14 ~SimpleModule() { 15 ~SimpleModule() {
15 Term(); 16 Term();
16 _pAtlModule = NULL; 17 _pAtlModule = NULL;
17 } 18 }
18 }; 19 };
20
19 #endif // CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_ 21 #endif // CHROME_FRAME_TEST_PERF_CHROME_FRAME_PERFTEST_H_
OLDNEW
« no previous file with comments | « chrome/test/perf/url_parse_perftest.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