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

Unified Diff: chrome/test/testing_browser_process_test.h

Issue 6478005: GTTF: Use a fresh TestingBrowserProcess for each test, part #1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make more tests use the new base class Created 9 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
« no previous file with comments | « chrome/test/testing_browser_process.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/testing_browser_process_test.h
diff --git a/chrome/test/testing_browser_process_test.h b/chrome/test/testing_browser_process_test.h
new file mode 100644
index 0000000000000000000000000000000000000000..0bdb4175ff2a73e8ae9d7ad22a20dc249b5531e4
--- /dev/null
+++ b/chrome/test/testing_browser_process_test.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2011 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.
+
+#ifndef CHROME_TEST_TESTING_BROWSER_PROCESS_TEST_H_
+#define CHROME_TEST_TESTING_BROWSER_PROCESS_TEST_H_
+#pragma once
+
+#include "chrome/test/testing_browser_process.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+// Base class for tests that need |g_browser_process| to be initialized.
+class TestingBrowserProcessTest : public testing::Test {
+ private:
+ ScopedTestingBrowserProcess browser_process_;
+};
+
+#endif // CHROME_TEST_TESTING_BROWSER_PROCESS_TEST_H_
« no previous file with comments | « chrome/test/testing_browser_process.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698