summaryrefslogtreecommitdiffstats
path: root/base/perftimer.h
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 22:35:10 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 22:35:10 +0000
commit302831b6e4e9d8a700ecbea7616f1879898bbfb9 (patch)
tree1325149eae7db9f1a302801d275ae9761b1aebf1 /base/perftimer.h
parentd3f6b195024afbf311e9eff816ebe17d853d9ab8 (diff)
downloadchromium_src-302831b6e4e9d8a700ecbea7616f1879898bbfb9.zip
chromium_src-302831b6e4e9d8a700ecbea7616f1879898bbfb9.tar.gz
chromium_src-302831b6e4e9d8a700ecbea7616f1879898bbfb9.tar.bz2
Call logging::InitLogging. The lack of this was causing some hangs (and possibly crashes) in ObserverListTest.BUG=6286
This CL has expanded to include some cleanup and refactoring of test_suite and related files, so that this logging change (and other improvements) are applied to all unit tests. Review URL: http://codereview.chromium.org/18003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/perftimer.h')
-rw-r--r--base/perftimer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/perftimer.h b/base/perftimer.h
index 9558697..81009dd 100644
--- a/base/perftimer.h
+++ b/base/perftimer.h
@@ -7,6 +7,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/file_path.h"
#include "base/time.h"
// ----------------------------------------------------------------------
@@ -14,7 +15,7 @@
// called at the beginning and end (respectively) of running all the
// performance tests. The init function returns true on success.
// ----------------------------------------------------------------------
-bool InitPerfLog(const char* log_file);
+bool InitPerfLog(const FilePath& log_path);
void FinalizePerfLog();
// ----------------------------------------------------------------------