forked from sanyaade-mobiledev/chromium.src
-
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.
Break dependency of DeviceTempFile from DeviceUtils
Instead of accessing DeviceUtils methods (which tend to cause a circular dependency with that module), we access directly the lower level AdbWrapper to create temp files on the device. Interface changes: - DeviceTempFile expects an AdbWrapper object (instead of a DeviceUtils object). Implementation changes: - by default, write temp files to /data/local/tmp (c.f. BUG 436133) - use 'test' to check for existence of files and directories - use 'touch' to reserve the name of a temp file - provide a |name_quoted| property - ignore errors when removing temp file The first patch set comes from the reverted CL: https://codereview.chromium.org/751063002/ BUG=440703,436133 Review URL: https://codereview.chromium.org/793653002 Cr-Commit-Position: refs/heads/master@{#307705}
- Loading branch information
Showing
5 changed files
with
87 additions
and
38 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