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

Issue 2613803003: Simplifying ContentBrowserClient::GetAdditionalMappedFiles...() (Closed)

Created:
3 years, 11 months ago by Jay Civelli
Modified:
3 years, 11 months ago
Reviewers:
jam, boliu
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, Peter Beverloo, jam, timvolodine, darin-cc_chromium.org, android-webview-reviews_chromium.org, jochen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplifying ContentBrowserClient::GetAdditionalMappedFiles...() First step in an effort to refactor content::ChildProcessLauncher, by unifying ContentBrowserClient::GetAdditionalMappedFilesForChildProcess() on Android and Linux by moving the region argument to content::FileDescriptorInfo. BUG=675294 Review-Url: https://codereview.chromium.org/2613803003 Cr-Commit-Position: refs/heads/master@{#442007} Committed: https://chromium.googlesource.com/chromium/src/+/e6f55074f173bd0c45d96e98a7d747032ab786bb

Patch Set 1 #

Total comments: 3

Patch Set 2 : Adding missing parts. #

Patch Set 3 : Clean-up #

Patch Set 4 : Addressed jam@'s comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -171 lines) Patch
M android_webview/browser/aw_content_browser_client.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 1 2 3 1 chunk +10 lines, -12 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 1 chunk +2 lines, -8 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 2 chunks +13 lines, -18 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.h View 1 2 3 2 chunks +4 lines, -11 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.cc View 1 2 3 3 chunks +23 lines, -34 lines 0 comments Download
M content/browser/android/child_process_launcher_android.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/child_process_launcher_android.cc View 1 2 chunks +4 lines, -8 lines 0 comments Download
M content/browser/battery_status/battery_monitor_integration_browsertest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/child_process_launcher.cc View 1 2 4 chunks +16 lines, -25 lines 0 comments Download
M content/browser/file_descriptor_info_impl.h View 3 chunks +10 lines, -1 line 0 comments Download
M content/browser/file_descriptor_info_impl.cc View 3 chunks +18 lines, -3 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 1 chunk +2 lines, -8 lines 0 comments Download
M content/public/browser/file_descriptor_info.h View 1 2 3 1 chunk +20 lines, -14 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.h View 1 chunk +2 lines, -8 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 1 2 3 2 chunks +10 lines, -15 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
Jay Civelli
3 years, 11 months ago (2017-01-05 02:28:45 UTC) #4
boliu
https://codereview.chromium.org/2613803003/diff/1/content/browser/child_process_launcher.cc File content/browser/child_process_launcher.cc (right): https://codereview.chromium.org/2613803003/diff/1/content/browser/child_process_launcher.cc#newcode177 content/browser/child_process_launcher.cc:177: std::map<int, base::MemoryMappedFile::Region> regions; seems incomplete this is still here ...
3 years, 11 months ago (2017-01-05 07:02:09 UTC) #8
Jay Civelli
https://codereview.chromium.org/2613803003/diff/1/content/browser/child_process_launcher.cc File content/browser/child_process_launcher.cc (right): https://codereview.chromium.org/2613803003/diff/1/content/browser/child_process_launcher.cc#newcode177 content/browser/child_process_launcher.cc:177: std::map<int, base::MemoryMappedFile::Region> regions; On 2017/01/05 07:02:08, boliu wrote: > ...
3 years, 11 months ago (2017-01-05 17:12:18 UTC) #10
boliu
lgtm
3 years, 11 months ago (2017-01-05 23:38:46 UTC) #14
jam
lgtm https://codereview.chromium.org/2613803003/diff/1/content/public/browser/file_descriptor_info.h File content/public/browser/file_descriptor_info.h (right): https://codereview.chromium.org/2613803003/diff/1/content/public/browser/file_descriptor_info.h#newcode30 content/public/browser/file_descriptor_info.h:30: virtual void ShareWithRegion(int id, base::PlatformFile fd, nit: indentation ...
3 years, 11 months ago (2017-01-06 01:28:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2613803003/60001
3 years, 11 months ago (2017-01-06 18:16:05 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 19:29:49 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e6f55074f173bd0c45d96e98a7d7...

Powered by Google App Engine
This is Rietveld 408576698