DescriptionGet rid of FileManagerPrivateAPI class
The whole purpose of FileManagerPrivateAPI class was to hold an
EventRouter instance. It's simpler to just make EventRouter a
KeyedService and get rid of FileManagerPrivateAPI.
Note that BrowserContextKeyedAPI could not be used for EventRouter as
EventRouter needs a Profile rather than a BrowserContext.
In the next patch, EventRouter will be renamed to something like
FileManagerService.
BUG=412643
TEST=Files.app works as before
Committed: https://crrev.com/cc16383345552189dd0d33a931ed4b719354eae9
Cr-Commit-Position: refs/heads/master@{#294351}
Patch Set 1 : #
Total comments: 3
Patch Set 2 : rebase #Patch Set 3 : address comments #Messages
Total messages: 12 (4 generated)
|