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

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

Issue 1778873002: Replace Increment/DecrementKeepAliveCount by ScopedKeepAlives (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@KAObserver
Patch Set: Created 4 years, 9 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 404e3f3412dbdc219f3b937f9b63b7e175825af1..d0fb7a9e48940af5fa2ff9f4a327f7575a84b11e 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -261,6 +261,10 @@ unsigned int TestingBrowserProcess::ReleaseModule() {
return --module_ref_count_;
}
+int TestingBrowserProcess::GetModuleRefCount() const {
+ return static_cast<int>(module_ref_count_);
+}
+
bool TestingBrowserProcess::IsShuttingDown() {
return false;
}
« chrome/test/base/testing_browser_process.h ('K') | « chrome/test/base/testing_browser_process.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698