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

Issue 10913048: CrOS: Convert MediaTransferProtocolDaemonClient to use protobufs. (Closed)

Created:
8 years, 3 months ago by Lei Zhang
Modified:
8 years, 3 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org, kmadhusu, Ryan Sleevi, Evan Martin
Visibility:
Public.

Description

CrOS: Convert MediaTransferProtocolDaemonClient to use protobufs. BUG=chromium-os:29557 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156468

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : Add a script and associated gyp changes to CHROME_EXPORT in the generated protobuf headers #

Patch Set 5 : try running with python #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : fix nit #

Total comments: 8

Patch Set 8 : address more comments #

Total comments: 2

Patch Set 9 : less hacky #

Total comments: 8

Patch Set 10 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -367 lines) Patch
M build/protoc.gypi View 1 2 3 4 5 6 7 8 9 6 chunks +24 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/mtp/media_transfer_protocol_manager.h View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/mtp/media_transfer_protocol_manager.cc View 1 2 3 10 chunks +13 lines, -11 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 5 6 7 8 9 5 chunks +36 lines, -2 lines 0 comments Download
M chromeos/dbus/media_transfer_protocol_daemon_client.h View 1 2 3 5 chunks +6 lines, -135 lines 0 comments Download
M chromeos/dbus/media_transfer_protocol_daemon_client.cc View 1 2 3 4 5 6 6 chunks +17 lines, -213 lines 0 comments Download
A tools/protoc_wrapper/protoc_wrapper.py View 1 2 3 4 5 6 7 8 1 chunk +61 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Lei Zhang
https://chromiumcodereview.appspot.com/10913048/diff/1/chromeos/cryptohome/async_method_caller.h File chromeos/cryptohome/async_method_caller.h (right): https://chromiumcodereview.appspot.com/10913048/diff/1/chromeos/cryptohome/async_method_caller.h#newcode10 chromeos/cryptohome/async_method_caller.h:10: #include "base/basictypes.h" Otherwise the header fails to compile due ...
8 years, 3 months ago (2012-09-01 00:46:34 UTC) #1
Lei Zhang
mtpd changes are here: https://gerrit.chromium.org/gerrit/#/c/32059/
8 years, 3 months ago (2012-09-01 00:47:38 UTC) #2
satorux1
http://codereview.chromium.org/10913048/diff/1/DEPS File DEPS (right): http://codereview.chromium.org/10913048/diff/1/DEPS#newcode519 DEPS:519: "@5795e9bd3edb8a979318a08a79abd1bb1329c864", It's safer to land this part in a ...
8 years, 3 months ago (2012-09-01 01:03:50 UTC) #3
Lei Zhang
http://codereview.chromium.org/10913048/diff/1/DEPS File DEPS (right): http://codereview.chromium.org/10913048/diff/1/DEPS#newcode519 DEPS:519: "@5795e9bd3edb8a979318a08a79abd1bb1329c864", On 2012/09/01 01:03:50, satorux1 wrote: > It's safer ...
8 years, 3 months ago (2012-09-04 20:09:38 UTC) #4
satorux1
LGTM. Sorry for the belated response. I'm back to work. http://codereview.chromium.org/10913048/diff/11001/chromeos/dbus/media_transfer_protocol_daemon_client.cc File chromeos/dbus/media_transfer_protocol_daemon_client.cc (right): http://codereview.chromium.org/10913048/diff/11001/chromeos/dbus/media_transfer_protocol_daemon_client.cc#newcode453 ...
8 years, 3 months ago (2012-09-06 17:20:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/10913048/7008
8 years, 3 months ago (2012-09-10 21:51:53 UTC) #6
commit-bot: I haz the power
Try job failure for 10913048-7008 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-10 22:24:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/10913048/7008
8 years, 3 months ago (2012-09-10 23:19:53 UTC) #8
commit-bot: I haz the power
Try job failure for 10913048-7008 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-10 23:52:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/10913048/7008
8 years, 3 months ago (2012-09-10 23:59:35 UTC) #10
commit-bot: I haz the power
Try job failure for 10913048-7008 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-11 00:28:47 UTC) #11
Lei Zhang
+akalin since he might be interested in the protoc + gyp change. +rsleevi,evan FYI The ...
8 years, 3 months ago (2012-09-11 05:23:45 UTC) #12
Lei Zhang
(per discussion with rsleevi) We could just modify third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc instead, but I'm worried that will ...
8 years, 3 months ago (2012-09-11 07:12:06 UTC) #13
Evan Martin
If it helps any, sometimes you can land the .py file first (and mark it ...
8 years, 3 months ago (2012-09-11 16:07:31 UTC) #14
Evan Martin
just because i opened the review already https://chromiumcodereview.appspot.com/10913048/diff/7015/tools/protoc_wrapper/protoc_wrapper.py File tools/protoc_wrapper/protoc_wrapper.py (right): https://chromiumcodereview.appspot.com/10913048/diff/7015/tools/protoc_wrapper/protoc_wrapper.py#newcode27 tools/protoc_wrapper/protoc_wrapper.py:27: for i ...
8 years, 3 months ago (2012-09-11 16:11:09 UTC) #15
Lei Zhang
Thanks for the feedback, my python-fu has gotten rusty. https://chromiumcodereview.appspot.com/10913048/diff/7015/tools/protoc_wrapper/protoc_wrapper.py File tools/protoc_wrapper/protoc_wrapper.py (right): https://chromiumcodereview.appspot.com/10913048/diff/7015/tools/protoc_wrapper/protoc_wrapper.py#newcode27 tools/protoc_wrapper/protoc_wrapper.py:27: ...
8 years, 3 months ago (2012-09-11 21:03:41 UTC) #16
Evan Martin
well, now that I'm reviewing, I may as well add some more comments... https://chromiumcodereview.appspot.com/10913048/diff/13020/tools/protoc_wrapper/protoc_wrapper.py File ...
8 years, 3 months ago (2012-09-11 21:12:26 UTC) #17
Lei Zhang
I also fixed some newline issues so the modified protobuf header doesn't come out fugly. ...
8 years, 3 months ago (2012-09-11 21:51:25 UTC) #18
Ryan Sleevi
So my biggest concern is the use of ':' to concatenate the arguments. I think ...
8 years, 3 months ago (2012-09-12 19:47:31 UTC) #19
Lei Zhang
rsleevi: PTAL at patch set 8.
8 years, 3 months ago (2012-09-12 21:30:50 UTC) #20
Ryan Sleevi
LGTM with nits and one BUG? mentioned below http://codereview.chromium.org/10913048/diff/8009/build/protoc.gypi File build/protoc.gypi (right): http://codereview.chromium.org/10913048/diff/8009/build/protoc.gypi#newcode46 build/protoc.gypi:46: # ...
8 years, 3 months ago (2012-09-12 22:21:25 UTC) #21
Lei Zhang
http://codereview.chromium.org/10913048/diff/8009/build/protoc.gypi File build/protoc.gypi (right): http://codereview.chromium.org/10913048/diff/8009/build/protoc.gypi#newcode46 build/protoc.gypi:46: # Declspec to add to the generated protobuf c++ ...
8 years, 3 months ago (2012-09-12 23:33:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/10913048/8011
8 years, 3 months ago (2012-09-12 23:34:37 UTC) #23
commit-bot: I haz the power
8 years, 3 months ago (2012-09-13 02:27:56 UTC) #24
Change committed as 156468

Powered by Google App Engine
This is Rietveld 408576698