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

Unified Diff: chrome/test/base/testing_browser_process.cc

Issue 7744039: Switch ChromeTestSuite to the same convention as ContentTestSuite: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixing Created 9 years, 4 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: chrome/test/base/testing_browser_process.cc
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
index 315c2c28a6d1afb71fea6846c67fec2407e4d248..f86f6d5ebcd5bbc7bd0ae30af56aa83df6c59b27 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -271,13 +271,3 @@ void TestingBrowserProcess::SetIOThread(IOThread* io_thread) {
void TestingBrowserProcess::SetDevToolsManager(DevToolsManager* manager) {
devtools_manager_.reset(manager);
}
-
-ScopedTestingBrowserProcess::ScopedTestingBrowserProcess() {
- DCHECK(!g_browser_process);
- g_browser_process = &browser_process_;
-}
-
-ScopedTestingBrowserProcess::~ScopedTestingBrowserProcess() {
- DCHECK_EQ(&browser_process_, g_browser_process);
- g_browser_process = NULL;
-}

Powered by Google App Engine
This is Rietveld 408576698