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

Issue 16226004: Replace JSON (de)serialization of extension messages with direct Value pickling. (Closed)

Created:
7 years, 6 months ago by not at google - send to devlin
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Replace JSON (de)serialization of extension messages with direct Value pickling. BUG=55316 TBR=mpcomplete@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204067

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : fix devtools test #

Patch Set 4 : more error logging for windows failures #

Patch Set 5 : more debugging for win7 failure #

Patch Set 6 : disable test on win #

Total comments: 2

Patch Set 7 : fix test #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -106 lines) Patch
M chrome/browser/extensions/api/messaging/extension_message_port.h View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/messaging/extension_message_port.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/messaging/message_service.h View 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/messaging/message_service.cc View 4 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/messaging/native_message_port.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/messaging/native_message_port.cc View 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/messaging/native_message_process_host.h View 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/messaging/native_message_process_host.cc View 1 2 3 4 5 6 7 3 chunks +30 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc View 1 2 3 4 5 6 4 chunks +27 lines, -26 lines 0 comments Download
M chrome/browser/extensions/message_handler.h View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/message_handler.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_messages.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/extension_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/extension_helper.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/miscellaneous_bindings.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/extensions/miscellaneous_bindings.cc View 1 2 3 4 5 6 7 7 chunks +86 lines, -34 lines 0 comments Download
M chrome/renderer/resources/extensions/miscellaneous_bindings.js View 3 chunks +2 lines, -10 lines 0 comments Download
M chrome/test/data/devtools/extensions/devtools_messaging/devtools.js View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
not at google - send to devlin
mpcomplete for everything cdn for extension_messages.h
7 years, 6 months ago (2013-05-30 22:08:34 UTC) #1
Matt Perry
lgtm
7 years, 6 months ago (2013-05-30 23:06:03 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/16226004/11001
7 years, 6 months ago (2013-05-31 00:08:12 UTC) #3
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=156119
7 years, 6 months ago (2013-05-31 03:53:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/16226004/28001
7 years, 6 months ago (2013-05-31 05:35:28 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=156208
7 years, 6 months ago (2013-05-31 07:57:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/16226004/24002
7 years, 6 months ago (2013-05-31 16:44:11 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/16226004/diff/24002/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc File chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc (right): https://codereview.chromium.org/16226004/diff/24002/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc#newcode199 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc:199: base::FilePath temp_input_file = CreateTempFileWithMessage(std::string()); This writes a zero-size message ...
7 years, 6 months ago (2013-05-31 19:29:54 UTC) #8
Sergey Ulanov
I unchecked commit bit - I think the problem is not Windows-specific and the test ...
7 years, 6 months ago (2013-05-31 19:34:12 UTC) #9
not at google - send to devlin
https://codereview.chromium.org/16226004/diff/24002/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc File chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc (right): https://codereview.chromium.org/16226004/diff/24002/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc#newcode199 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc:199: base::FilePath temp_input_file = CreateTempFileWithMessage(std::string()); On 2013/05/31 19:29:54, Sergey Ulanov ...
7 years, 6 months ago (2013-05-31 19:51:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/16226004/58001
7 years, 6 months ago (2013-05-31 19:52:13 UTC) #11
commit-bot: I haz the power
Change committed as 203489
7 years, 6 months ago (2013-05-31 21:52:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/16226004/77001
7 years, 6 months ago (2013-06-04 20:58:37 UTC) #13
not at google - send to devlin
7 years, 6 months ago (2013-06-04 23:18:57 UTC) #14
Message was sent while issue was closed.
Committed patchset #8 manually as r204067 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698