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

Unified Diff: chrome_frame/test/perf/run_all.cc

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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
« no previous file with comments | « chrome_frame/test/perf/chrometab_perftests.vsprops ('k') | chrome_frame/test/perf/silverlight.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/perf/run_all.cc
diff --git a/chrome_frame/test/perf/run_all.cc b/chrome_frame/test/perf/run_all.cc
deleted file mode 100644
index f4945e38e5e2132bd5705906c6b2063352d12d16..0000000000000000000000000000000000000000
--- a/chrome_frame/test/perf/run_all.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2012 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/memory/scoped_ptr.h"
-#include "base/process/kill.h"
-#include "base/test/perf_test_suite.h"
-#include "base/threading/platform_thread.h"
-#include "chrome/common/chrome_paths.h"
-#include "chrome_frame/test/chrome_frame_test_utils.h"
-#include "chrome_frame/test_utils.h"
-#include "chrome_frame/utils.h"
-
-void PureCall() {
- __debugbreak();
-}
-
-int main(int argc, char **argv) {
- ScopedChromeFrameRegistrar::RegisterAndExitProcessIfDirected();
- base::PerfTestSuite perf_suite(argc, argv);
- base::PlatformThread::SetName("ChromeFrame perf tests");
-
- _set_purecall_handler(PureCall);
-
- SetConfigBool(kChromeFrameHeadlessMode, true);
- SetConfigBool(kChromeFrameUnpinnedMode, true);
-
- // Use ctor/raii to register the local Chrome Frame dll.
- scoped_ptr<ScopedChromeFrameRegistrar> registrar(
- new ScopedChromeFrameRegistrar(
- ScopedChromeFrameRegistrar::SYSTEM_LEVEL));
-
- base::ProcessHandle crash_service = chrome_frame_test::StartCrashService();
-
- int ret = perf_suite.Run();
-
- DeleteConfigValue(kChromeFrameHeadlessMode);
- DeleteConfigValue(kChromeFrameUnpinnedMode);
-
- if (crash_service)
- base::KillProcess(crash_service, 0, false);
- return ret;
-}
« no previous file with comments | « chrome_frame/test/perf/chrometab_perftests.vsprops ('k') | chrome_frame/test/perf/silverlight.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698