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.
[Remoting Mobile] Fix crashes related to mojo URL loader refactoring
We have found a few crashes on Chromoting mobile clients that are related to a refactoring to replace URLFetcher with ChromiumUrlRequest: * Apps crash at launch because mojo core is not initialized. * TransitionalURLLoaderFactoryOwner and the SharedURLLoaderFactory it creates seem to be thread unsafe, so the app crashes because of some thread checker failures. These issues are fixed by: * Calling mojo::core::Init() in the client runtime. * Make url_loader_factory() only being called on the network thread and guard it with DCHECK. Bug: 878919 Change-Id: I3827b5175546aa9845b53e95cbd913043028b59e Reviewed-on: https://chromium-review.googlesource.com/1196026 Reviewed-by: Ken Rockot <rockot@chromium.org> Reviewed-by: Antonio Gomes <tonikitoo@igalia.com> Reviewed-by: Joe Downing <joedow@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#587754}
- Loading branch information
Showing
7 changed files
with
43 additions
and
15 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
include_rules = [ | ||
"+ppapi", | ||
"+jingle/glue", | ||
"+mojo/core/embedder", | ||
"+net", | ||
"+ui/events/keycodes/dom", | ||
|
||
|
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