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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 1803143002: Replace BrowserProces::AddRefModule/RemoveModule by ScopedKeepAlive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/browser/browser_process_impl.h
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index 0bba81db6d6bf289eb33fbd9e87cc8d38ba531a9..e7e849985221517aba967a6a879b37cad22b9978 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -114,8 +114,8 @@ class BrowserProcessImpl : public BrowserProcess,
void CreateDevToolsHttpProtocolHandler(const std::string& ip,
uint16_t port) override;
void CreateDevToolsAutoOpener() override;
- unsigned int AddRefModule() override;
- unsigned int ReleaseModule() override;
+ void Pin() override;
+ void Unpin() override;
bool IsShuttingDown() override;
printing::PrintJobManager* print_job_manager() override;
printing::PrintPreviewDialogController* print_preview_dialog_controller()
@@ -242,8 +242,7 @@ class BrowserProcessImpl : public BrowserProcess,
bool created_safe_browsing_service_;
scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_service_;
- unsigned int module_ref_count_;
- bool did_start_;
+ bool shutting_down_;
bool tearing_down_;

Powered by Google App Engine
This is Rietveld 408576698