forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: Simplify singleton getters involving AppHooks
I'd guess that these getters used to be lazy because they relied on Application context to be created. However, now that we've moved to AppHooks, having the context is no longer necessary, so the singletons can be created during class initialization. As far as I can tell, none of these classes are useful without their singleton, so there's no need to make them lazy. Change-Id: I5e9c4b9025761a2c6da2daa9d076b9f70b85b002 Reviewed-on: https://chromium-review.googlesource.com/766515 Reviewed-by: Tommy Nyquist <nyquist@chromium.org> Commit-Queue: agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#516845}
- Loading branch information
Showing
4 changed files
with
17 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters