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

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

Issue 1803143002: Replace BrowserProces::AddRefModule/RemoveModule by ScopedKeepAlive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments 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
« no previous file with comments | « chrome/browser/ui/views/uninstall_view.cc ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_browser_process.h
diff --git a/chrome/test/base/testing_browser_process.h b/chrome/test/base/testing_browser_process.h
index fbb8983b508e20d955dd9a11ad5047ccad9f99f0..25ed704c53edab7179798896ceed6b1f8cd147c5 100644
--- a/chrome/test/base/testing_browser_process.h
+++ b/chrome/test/base/testing_browser_process.h
@@ -92,8 +92,6 @@ class TestingBrowserProcess : public BrowserProcess {
void CreateDevToolsHttpProtocolHandler(const std::string& ip,
uint16_t port) override;
void CreateDevToolsAutoOpener() override;
- unsigned int AddRefModule() override;
- unsigned int ReleaseModule() override;
bool IsShuttingDown() override;
printing::PrintJobManager* print_job_manager() override;
printing::PrintPreviewDialogController* print_preview_dialog_controller()
@@ -141,15 +139,12 @@ class TestingBrowserProcess : public BrowserProcess {
void SetRapporService(rappor::RapporService* rappor_service);
void ShutdownBrowserPolicyConnector();
- unsigned int module_ref_count() const { return module_ref_count_; }
-
private:
// See CreateInstance() and DestoryInstance() above.
TestingBrowserProcess();
~TestingBrowserProcess() override;
scoped_ptr<content::NotificationService> notification_service_;
- unsigned int module_ref_count_;
std::string app_locale_;
scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_;
« no previous file with comments | « chrome/browser/ui/views/uninstall_view.cc ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698