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

Issue 652313002: Enable the mojo-based serial API in the renderer behind a flag. (Closed)

Created:
6 years, 2 months ago by Sam McNally
Modified:
6 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@mojo-js-natives-registration
Project:
chromium
Visibility:
Public.

Description

Enable the mojo-based serial API in the renderer behind a flag. This enables the serial custom bindings that forward to the mojo serial service behind the --enable-mojo-serial-service flag. This adds service factory overrides to ServiceRegistrationManager for testing and updates the serial api browsertest to test both serial implementations. BUG=389016 Committed: https://crrev.com/fb8875c804337e452e7f799bc3960b912100e5a9 Cr-Commit-Position: refs/heads/master@{#301594}

Patch Set 1 : #

Total comments: 11

Patch Set 2 : rebase #

Patch Set 3 : address comments #

Patch Set 4 : rebase #

Total comments: 8

Patch Set 5 : rebase #

Patch Set 6 : address comments #

Patch Set 7 : rebase #

Patch Set 8 : no ServiceRegistrationManagerTestApi #

Patch Set 9 : rebase #

Patch Set 10 : fix windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -52 lines) Patch
M chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/api/serial/serial_apitest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +90 lines, -26 lines 0 comments Download
M extensions/browser/mojo/service_registration_manager.h View 1 2 3 4 5 6 7 5 chunks +16 lines, -1 line 0 comments Download
M extensions/browser/mojo/service_registration_manager.cc View 1 2 3 4 5 3 chunks +20 lines, -2 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/renderer/api/serial/data_receiver_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M extensions/renderer/api/serial/data_sender_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M extensions/renderer/api/serial/serial_api_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -11 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 2 3 4 5 6 7 8 2 chunks +19 lines, -0 lines 0 comments Download
M extensions/renderer/module_system.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
A extensions/test/test_service_registration_manager.h View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download
A extensions/test/test_service_registration_manager.cc View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
Sam McNally
6 years, 2 months ago (2014-10-14 18:21:09 UTC) #3
raymes
Sorry, there's a few things in the test I'm not sure about! Also there's probably ...
6 years, 2 months ago (2014-10-15 21:07:09 UTC) #4
Sam McNally
https://codereview.chromium.org/652313002/diff/20001/extensions/browser/api/serial/serial_apitest.cc File extensions/browser/api/serial/serial_apitest.cc (left): https://codereview.chromium.org/652313002/diff/20001/extensions/browser/api/serial/serial_apitest.cc#oldcode76 extensions/browser/api/serial/serial_apitest.cc:76: Return(true)); On 2014/10/15 21:07:09, raymes wrote: > Why did ...
6 years, 2 months ago (2014-10-20 07:21:07 UTC) #8
raymes
https://codereview.chromium.org/652313002/diff/20001/extensions/browser/api/serial/serial_apitest.cc File extensions/browser/api/serial/serial_apitest.cc (right): https://codereview.chromium.org/652313002/diff/20001/extensions/browser/api/serial/serial_apitest.cc#newcode109 extensions/browser/api/serial/serial_apitest.cc:109: if (GetParam()) nit: Cool. It's probably worth making a ...
6 years, 2 months ago (2014-10-24 00:09:30 UTC) #9
Sam McNally
https://codereview.chromium.org/652313002/diff/140001/extensions/browser/service_registration_manager.cc File extensions/browser/service_registration_manager.cc (right): https://codereview.chromium.org/652313002/diff/140001/extensions/browser/service_registration_manager.cc#newcode98 extensions/browser/service_registration_manager.cc:98: void ServiceRegistrationManager::ClearServiceRegistrationManagerForTest() { On 2014/10/24 00:09:30, raymes wrote: > ...
6 years, 2 months ago (2014-10-24 03:55:57 UTC) #11
raymes
https://codereview.chromium.org/652313002/diff/140001/extensions/test/service_registration_manager_test_api.h File extensions/test/service_registration_manager_test_api.h (right): https://codereview.chromium.org/652313002/diff/140001/extensions/test/service_registration_manager_test_api.h#newcode50 extensions/test/service_registration_manager_test_api.h:50: class ServiceRegistrationManagerTestApi { As discussed, let's get rid of ...
6 years, 1 month ago (2014-10-27 00:11:47 UTC) #12
Sam McNally
https://codereview.chromium.org/652313002/diff/140001/extensions/test/service_registration_manager_test_api.h File extensions/test/service_registration_manager_test_api.h (right): https://codereview.chromium.org/652313002/diff/140001/extensions/test/service_registration_manager_test_api.h#newcode50 extensions/test/service_registration_manager_test_api.h:50: class ServiceRegistrationManagerTestApi { On 2014/10/27 00:11:46, raymes wrote: > ...
6 years, 1 month ago (2014-10-27 06:56:25 UTC) #14
raymes
lgtm
6 years, 1 month ago (2014-10-27 22:44:18 UTC) #15
Sam McNally
+rockot
6 years, 1 month ago (2014-10-28 03:20:36 UTC) #17
Ken Rockot(use gerrit already)
lgtm
6 years, 1 month ago (2014-10-28 05:15:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/652313002/260001
6 years, 1 month ago (2014-10-28 07:15:19 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/74453) android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/22703) linux_chromium_compile_dbg_32 ...
6 years, 1 month ago (2014-10-28 07:19:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/652313002/280001
6 years, 1 month ago (2014-10-28 07:22:25 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/79505)
6 years, 1 month ago (2014-10-28 07:57:58 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/652313002/300001
6 years, 1 month ago (2014-10-28 09:57:24 UTC) #28
commit-bot: I haz the power
Committed patchset #10 (id:300001)
6 years, 1 month ago (2014-10-28 11:51:14 UTC) #29
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 11:52:19 UTC) #30
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/fb8875c804337e452e7f799bc3960b912100e5a9
Cr-Commit-Position: refs/heads/master@{#301594}

Powered by Google App Engine
This is Rietveld 408576698