DescriptionMake ExtensionBrowserEventRouter owned by ExtensionService.
Before this change, it's a Singleton that gets passed a pointer to a Profile
during Init(), and holds onto that pointer even after the Profile gets
destroyed. With this change, it's owned by ExtensionService and is destroyed
when the profile is being destructed.
BUG=67927
TEST=On linux, run 'browser_tests --gtest_filter=ExtensionApiTest.BookmarkManager --gtest_repeat=100 --gtest_break_on_failure'. Before this CL, you'll occasionally get a failure because of the race condition described above.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71526
Patch Set 1 : '' #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #
Total comments: 4
Patch Set 5 : '' #Messages
Total messages: 5 (0 generated)
|