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

Issue 1298743002: Partially componentize chrome/common/crash_keys. (Closed)

Created:
5 years, 4 months ago by sdefresne
Modified:
5 years, 4 months ago
CC:
chromium-reviews, Matt Giuca, sdefresne+watch_chromium.org, tapted
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Partially componentize chrome/common/crash_keys. Create a new component crash_keys and move there all the free functions and constants that are used by iOS so that the code can be shared. Do not move the key registration into the component as the list of keys that can be used depends on the embedder. Provides an iOS specific key registration method. BUG=520968 Committed: https://crrev.com/a7434334176b476cf1a06ce84abe2dcc2a2cb652 Cr-Commit-Position: refs/heads/master@{#344256}

Patch Set 1 #

Patch Set 2 : Fix compilation on iOS #

Total comments: 6

Patch Set 3 : Address comments #

Patch Set 4 : Fix gn compilation #

Patch Set 5 : Fix win32 compilation #

Patch Set 6 : Fix typo (= instead of == in components/crash_keys.gypi) #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -123 lines) Patch
M chrome/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/crash_keys.h View 5 chunks +1 line, -35 lines 0 comments Download
M chrome/common/crash_keys.cc View 6 chunks +0 lines, -83 lines 0 comments Download
M chrome/common/mac/objc_zombie.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
M components/components.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A components/crash_keys.gypi View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
A + components/crash_keys/BUILD.gn View 1 chunk +4 lines, -3 lines 0 comments Download
A + components/crash_keys/DEPS View 1 chunk +1 line, -2 lines 1 comment Download
A + components/crash_keys/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/crash_keys/crash_keys.h View 1 chunk +74 lines, -0 lines 0 comments Download
A components/crash_keys/crash_keys.cc View 1 chunk +93 lines, -0 lines 0 comments Download
M ios/chrome/browser/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A ios/chrome/browser/crash_report/crash_keys.h View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A ios/chrome/browser/crash_report/crash_keys.cc View 1 1 chunk +34 lines, -0 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
sdefresne
rsesek: please review new component and chrome/common/crash_keys.* sky: please review //chrome changes as OWNERS mark: ...
5 years, 4 months ago (2015-08-17 16:57:17 UTC) #3
sky
LGTM https://codereview.chromium.org/1298743002/diff/80001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/1298743002/diff/80001/chrome/chrome_tests_unit.gypi#newcode2741 chrome/chrome_tests_unit.gypi:2741: '../components/components.gyp:crash_keys', nit: sort
5 years, 4 months ago (2015-08-17 18:06:00 UTC) #6
Mark Mentovai
https://codereview.chromium.org/1298743002/diff/80001/chrome/chrome_exe.gypi File chrome/chrome_exe.gypi (right): https://codereview.chromium.org/1298743002/diff/80001/chrome/chrome_exe.gypi#newcode469 chrome/chrome_exe.gypi:469: '../components/components.gyp:crash_keyes', keys, not keyes https://codereview.chromium.org/1298743002/diff/80001/ios/chrome/browser/crash_report/crash_keys.h File ios/chrome/browser/crash_report/crash_keys.h (right): https://codereview.chromium.org/1298743002/diff/80001/ios/chrome/browser/crash_report/crash_keys.h#newcode8 ...
5 years, 4 months ago (2015-08-17 18:55:01 UTC) #7
sdefresne
Thank you for the reviews. Please take another look. https://codereview.chromium.org/1298743002/diff/80001/chrome/chrome_exe.gypi File chrome/chrome_exe.gypi (right): https://codereview.chromium.org/1298743002/diff/80001/chrome/chrome_exe.gypi#newcode469 chrome/chrome_exe.gypi:469: ...
5 years, 4 months ago (2015-08-18 12:47:40 UTC) #8
Mark Mentovai
LGTM
5 years, 4 months ago (2015-08-18 13:15:29 UTC) #9
Robert Sesek
LGTM This feels a bit odd to componentize, but it seems necessary. https://codereview.chromium.org/1298743002/diff/160001/components/crash_keys/DEPS File components/crash_keys/DEPS ...
5 years, 4 months ago (2015-08-18 14:20:16 UTC) #10
sdefresne
On 2015/08/18 at 14:20:16, rsesek wrote: > LGTM > > This feels a bit odd ...
5 years, 4 months ago (2015-08-19 08:17:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1298743002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1298743002/160001
5 years, 4 months ago (2015-08-19 15:57:15 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:160001)
5 years, 4 months ago (2015-08-19 17:01:04 UTC) #15
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 17:01:42 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a7434334176b476cf1a06ce84abe2dcc2a2cb652
Cr-Commit-Position: refs/heads/master@{#344256}

Powered by Google App Engine
This is Rietveld 408576698