diff options
Diffstat (limited to 'chrome_frame/test/perf/run_all.cc')
-rw-r--r-- | chrome_frame/test/perf/run_all.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome_frame/test/perf/run_all.cc b/chrome_frame/test/perf/run_all.cc new file mode 100644 index 0000000..93a5a67 --- /dev/null +++ b/chrome_frame/test/perf/run_all.cc @@ -0,0 +1,17 @@ +// 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. +#include "base/platform_thread.h" +#include "base/perf_test_suite.h" +#include "base/scoped_ptr.h" +#include "chrome/common/chrome_paths.h" +#include "chrome_frame/test_utils.h" + +int main(int argc, char **argv) { + PerfTestSuite perf_suite(argc, argv); + chrome::RegisterPathProvider(); + PlatformThread::SetName("ChromeFrame perf tests"); + // Use ctor/raii to register the local Chrome Frame dll. + scoped_ptr<ScopedChromeFrameRegistrar> registrar(new ScopedChromeFrameRegistrar); + return perf_suite.Run(); +} |