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

Issue 9521013: Remove web intents from Chrome on Android build (Closed)

Created:
8 years, 9 months ago by Jesse Greenwald
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, brettw-cc_chromium.org, Ted C
Visibility:
Public.

Description

Remove web intents from Chrome on Android build Chrome on Android doesn't currently support web intents. This change fixes linker errors that occuring when trying to build sync_unit_tests. BUG=113487 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126446

Patch Set 1 #

Patch Set 2 : Added a TODO to remove ifdef block #

Total comments: 2

Patch Set 3 : Exclude 'browser/intents' from Android build as well. #

Total comments: 4

Patch Set 4 : Resolve nits #

Total comments: 6

Patch Set 5 : Resolved nits #

Total comments: 1

Patch Set 6 : Rebased; resolved Yaron's comment about a separate gyp block for enable_web_intents #

Patch Set 7 : Fix buildbot compile errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -44 lines) Patch
M build/common.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.cc View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
A chrome/browser/intents/register_intent_handler_helper.cc View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 4 chunks +4 lines, -41 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_data_service_unittest.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_intents_table_unittest.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Jesse Greenwald
8 years, 9 months ago (2012-02-29 00:22:05 UTC) #1
groby-ooo-7-16
lgtm (purely technical - jhawkins@ might want to chime in on wider implications)
8 years, 9 months ago (2012-02-29 00:28:11 UTC) #2
Greg Billock
http://codereview.chromium.org/9521013/diff/2001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/9521013/diff/2001/chrome/browser/ui/browser.cc#newcode4188 chrome/browser/ui/browser.cc:4188: #if !defined(OS_ANDROID) Why not just ensure that web_intents::IsWebIntentsEnabled is ...
8 years, 9 months ago (2012-02-29 00:47:22 UTC) #3
Jesse Greenwald
http://codereview.chromium.org/9521013/diff/2001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/9521013/diff/2001/chrome/browser/ui/browser.cc#newcode4188 chrome/browser/ui/browser.cc:4188: #if !defined(OS_ANDROID) On 2012/02/29 00:47:22, Greg Billock wrote: > ...
8 years, 9 months ago (2012-02-29 17:59:41 UTC) #4
Jesse Greenwald
Excluded 'browser/intents' from Android build as well, PTAL.
8 years, 9 months ago (2012-02-29 21:40:59 UTC) #5
Greg Billock
On 2012/02/29 21:40:59, jgreenwald1 wrote: > Excluded 'browser/intents' from Android build as well, PTAL. lgtm
8 years, 9 months ago (2012-03-01 00:17:02 UTC) #6
Jesse Greenwald
jhawkins: Did you want to take a look at this before I commit it? Thanks
8 years, 9 months ago (2012-03-07 01:39:52 UTC) #7
James Hawkins
LGTM with nits. https://chromiumcodereview.appspot.com/9521013/diff/6001/chrome/browser/content_settings/host_content_settings_map.cc File chrome/browser/content_settings/host_content_settings_map.cc (right): https://chromiumcodereview.appspot.com/9521013/diff/6001/chrome/browser/content_settings/host_content_settings_map.cc#newcode328 chrome/browser/content_settings/host_content_settings_map.cc:328: if (!web_intents::IsWebIntentsEnabled()) { nit: No braces ...
8 years, 9 months ago (2012-03-08 05:21:22 UTC) #8
Jesse Greenwald
https://chromiumcodereview.appspot.com/9521013/diff/6001/chrome/browser/content_settings/host_content_settings_map.cc File chrome/browser/content_settings/host_content_settings_map.cc (right): https://chromiumcodereview.appspot.com/9521013/diff/6001/chrome/browser/content_settings/host_content_settings_map.cc#newcode328 chrome/browser/content_settings/host_content_settings_map.cc:328: if (!web_intents::IsWebIntentsEnabled()) { On 2012/03/08 05:21:22, James Hawkins wrote: ...
8 years, 9 months ago (2012-03-08 18:35:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgreenwald@chromium.org/9521013/12001
8 years, 9 months ago (2012-03-08 18:35:58 UTC) #10
commit-bot: I haz the power
Presubmit check for 9521013-12001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-08 18:36:04 UTC) #11
Jesse Greenwald
ben: Can you review: chrome/browser/ui chrome/browser/ui/tab_contents mirandac: Can you review: chrome/browser/profiles Thanks
8 years, 9 months ago (2012-03-08 19:23:44 UTC) #12
binji
On 2012/03/08 19:23:44, jgreenwald1 wrote: > ben: Can you review: > chrome/browser/ui > chrome/browser/ui/tab_contents > ...
8 years, 9 months ago (2012-03-08 19:26:26 UTC) #13
Miranda Callahan
LGTM with comment addressed. https://chromiumcodereview.appspot.com/9521013/diff/12001/chrome/browser/profiles/profile_dependency_manager.cc File chrome/browser/profiles/profile_dependency_manager.cc (right): https://chromiumcodereview.appspot.com/9521013/diff/12001/chrome/browser/profiles/profile_dependency_manager.cc#newcode196 chrome/browser/profiles/profile_dependency_manager.cc:196: #endif I think this should ...
8 years, 9 months ago (2012-03-08 19:28:43 UTC) #14
Ben Goodger (Google)
Have you guys considered adding USE_ defines for these sorts of things? e.g. USE_INTENTS and ...
8 years, 9 months ago (2012-03-08 23:32:38 UTC) #15
Jesse Greenwald
On 2012/03/08 23:32:38, Ben Goodger (Google) wrote: > Have you guys considered adding USE_ defines ...
8 years, 9 months ago (2012-03-09 19:56:14 UTC) #16
groby-ooo-7-16
There's already an enable_web_intents for gyp files, which results in ENABLE_WEB_INTENTS being set to 1. ...
8 years, 9 months ago (2012-03-09 20:16:20 UTC) #17
Yaron
http://codereview.chromium.org/9521013/diff/12001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): http://codereview.chromium.org/9521013/diff/12001/chrome/chrome_browser.gypi#newcode4798 chrome/chrome_browser.gypi:4798: ['exclude', '^browser/intents'], Please also add these exclusions in chrome_tests.gypi
8 years, 9 months ago (2012-03-09 20:47:11 UTC) #18
Jesse Greenwald
Resolved comments and nits. I also ifdef'd out some unit tests that didn't link when ...
8 years, 9 months ago (2012-03-10 00:13:26 UTC) #19
Yaron
If you agree, the same goes for chrome/chrome_tests.gypi http://codereview.chromium.org/9521013/diff/22001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): http://codereview.chromium.org/9521013/diff/22001/chrome/chrome_browser.gypi#newcode4423 chrome/chrome_browser.gypi:4423: ['exclude', ...
8 years, 9 months ago (2012-03-10 00:28:01 UTC) #20
Ben Goodger (Google)
lgtm
8 years, 9 months ago (2012-03-12 16:36:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgreenwald@chromium.org/9521013/25001
8 years, 9 months ago (2012-03-12 18:26:33 UTC) #22
commit-bot: I haz the power
Try job failure for 9521013-25001 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-12 18:50:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgreenwald@chromium.org/9521013/29004
8 years, 9 months ago (2012-03-12 21:23:21 UTC) #24
commit-bot: I haz the power
Try job failure for 9521013-29004 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-12 22:23:55 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgreenwald@chromium.org/9521013/29004
8 years, 9 months ago (2012-03-13 17:34:58 UTC) #26
commit-bot: I haz the power
8 years, 9 months ago (2012-03-13 20:04:59 UTC) #27
Change committed as 126446

Powered by Google App Engine
This is Rietveld 408576698