Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Issue 1133283002: Android handler: Fix name collision. (Closed)

Created:
5 years, 7 months ago by qsr
Modified:
5 years, 7 months ago
Reviewers:
blundell
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Android handler: Fix name collision. The android handler was using the android framework to create temporary files. This creates predictible names and ends up creating 2 libraries with the same name. This is then an issue with ldopen that will not open those independently. This CL changes the implementation to create names that will not be predictible. R=blundell@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/010222933db7567616e6f3d4c26a2439e1836664

Patch Set 1 #

Patch Set 2 : Validate entry, also move version in first position so that we can completely change the entry defi… #

Total comments: 8

Patch Set 3 : Follow review + fix assets extraction. #

Patch Set 4 : Fix app tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -19 lines) Patch
M services/url_response_disk_cache/url_response_disk_cache_entry.mojom View 1 1 chunk +1 line, -0 lines 0 comments Download
M services/url_response_disk_cache/url_response_disk_cache_impl.h View 1 chunk +7 lines, -4 lines 0 comments Download
M services/url_response_disk_cache/url_response_disk_cache_impl.cc View 1 2 3 9 chunks +27 lines, -7 lines 0 comments Download
M shell/android/android_handler.cc View 2 chunks +26 lines, -0 lines 0 comments Download
M shell/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java View 1 2 3 chunks +14 lines, -6 lines 0 comments Download
M shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
qsr
5 years, 7 months ago (2015-05-12 16:34:53 UTC) #1
blundell
https://codereview.chromium.org/1133283002/diff/20001/services/url_response_disk_cache/url_response_disk_cache_impl.cc File services/url_response_disk_cache/url_response_disk_cache_impl.cc (left): https://codereview.chromium.org/1133283002/diff/20001/services/url_response_disk_cache/url_response_disk_cache_impl.cc#oldcode324 services/url_response_disk_cache/url_response_disk_cache_impl.cc:324: WriteFile(GetExtractedSentinel(dir), nullptr, 0); Am I understanding correctly that this ...
5 years, 7 months ago (2015-05-13 09:16:43 UTC) #2
qsr
https://codereview.chromium.org/1133283002/diff/20001/services/url_response_disk_cache/url_response_disk_cache_impl.cc File services/url_response_disk_cache/url_response_disk_cache_impl.cc (left): https://codereview.chromium.org/1133283002/diff/20001/services/url_response_disk_cache/url_response_disk_cache_impl.cc#oldcode324 services/url_response_disk_cache/url_response_disk_cache_impl.cc:324: WriteFile(GetExtractedSentinel(dir), nullptr, 0); On 2015/05/13 09:16:43, blundell wrote: > ...
5 years, 7 months ago (2015-05-13 09:32:05 UTC) #3
blundell
lgtm
5 years, 7 months ago (2015-05-13 09:38:01 UTC) #4
qsr
5 years, 7 months ago (2015-05-13 10:27:38 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
010222933db7567616e6f3d4c26a2439e1836664 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698