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

Unified Diff: base/test/main_hook.h

Issue 12321117: Refactor MainHook into TestSuite. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing test_suite changes Created 7 years, 10 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: base/test/main_hook.h
diff --git a/base/test/main_hook.h b/base/test/main_hook.h
deleted file mode 100644
index 46b71cee911b98c9fe71411309d844d07a540d39..0000000000000000000000000000000000000000
--- a/base/test/main_hook.h
+++ /dev/null
@@ -1,17 +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 "build/build_config.h"
-#include "base/basictypes.h"
-
-// Provides a way of running code before gtest-based tests with access to
-// argv and argc.
-class MainHook {
- public:
- typedef int (*MainType)(int, char*[]);
- MainHook(MainType main_func, int argc, char* argv[]);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MainHook);
-};

Powered by Google App Engine
This is Rietveld 408576698