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

Issue 10830052: chromeos: Use protocol buffers for Contact class. (Closed)

Created:
8 years, 4 months ago by Daniel Erat
Modified:
8 years, 4 months ago
Reviewers:
satorux1
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

chromeos: Use protocol buffers for Contact class. This was formerly a hand-rolled C++ class, but Satoru pointed out that using protocol buffers would make serialization to disk much simpler. BUG=128805 TEST=compiles TBR=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148868

Patch Set 1 #

Patch Set 2 : minor changes #

Total comments: 4

Patch Set 3 : store original untrusted photos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -262 lines) Patch
D chrome/browser/chromeos/contacts/contact.h View 1 chunk +0 lines, -121 lines 0 comments Download
D chrome/browser/chromeos/contacts/contact.cc View 1 chunk +0 lines, -25 lines 0 comments Download
A chrome/browser/chromeos/contacts/contact.proto View 1 2 1 chunk +98 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/contacts/contact_test_util.h View 4 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/contacts/contact_test_util.cc View 1 2 4 chunks +99 lines, -105 lines 0 comments Download
M chrome/chrome_browser.gypi View 3 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Daniel Erat
http://codereview.chromium.org/10830052/diff/1007/chrome/browser/chromeos/contacts/contact.proto File chrome/browser/chromeos/contacts/contact.proto (right): http://codereview.chromium.org/10830052/diff/1007/chrome/browser/chromeos/contacts/contact.proto#newcode26 chrome/browser/chromeos/contacts/contact.proto:26: optional bool deleted = 3 [default = false]; (I ...
8 years, 4 months ago (2012-07-27 18:44:05 UTC) #1
Daniel Erat
http://codereview.chromium.org/10830052/diff/1007/chrome/browser/chromeos/contacts/contact.proto File chrome/browser/chromeos/contacts/contact.proto (right): http://codereview.chromium.org/10830052/diff/1007/chrome/browser/chromeos/contacts/contact.proto#newcode38 chrome/browser/chromeos/contacts/contact.proto:38: optional bytes png_photo = 10; I'm still going back ...
8 years, 4 months ago (2012-07-27 20:04:07 UTC) #2
satorux1
http://codereview.chromium.org/10830052/diff/1007/chrome/browser/chromeos/contacts/contact.proto File chrome/browser/chromeos/contacts/contact.proto (right): http://codereview.chromium.org/10830052/diff/1007/chrome/browser/chromeos/contacts/contact.proto#newcode38 chrome/browser/chromeos/contacts/contact.proto:38: optional bytes png_photo = 10; On 2012/07/27 20:04:07, Daniel ...
8 years, 4 months ago (2012-07-27 20:46:33 UTC) #3
Daniel Erat
http://codereview.chromium.org/10830052/diff/1007/chrome/browser/chromeos/contacts/contact.proto File chrome/browser/chromeos/contacts/contact.proto (right): http://codereview.chromium.org/10830052/diff/1007/chrome/browser/chromeos/contacts/contact.proto#newcode38 chrome/browser/chromeos/contacts/contact.proto:38: optional bytes png_photo = 10; On 2012/07/27 20:46:33, satorux1 ...
8 years, 4 months ago (2012-07-27 21:59:01 UTC) #4
satorux1
LGTM!
8 years, 4 months ago (2012-07-27 22:29:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10830052/9001
8 years, 4 months ago (2012-07-27 23:03:33 UTC) #6
commit-bot: I haz the power
Presubmit check for 10830052-9001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-07-27 23:03:37 UTC) #7
Daniel Erat
TBR ben for chrome/chrome_browser.gypi
8 years, 4 months ago (2012-07-27 23:11:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10830052/9001
8 years, 4 months ago (2012-07-27 23:11:40 UTC) #9
commit-bot: I haz the power
Try job failure for 10830052-9001 on linux_chromeos for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=29426 Step "update" is always ...
8 years, 4 months ago (2012-07-27 23:29:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10830052/9001
8 years, 4 months ago (2012-07-27 23:30:38 UTC) #11
commit-bot: I haz the power
Try job failure for 10830052-9001 on linux_chromeos for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=29426 Step "update" is always ...
8 years, 4 months ago (2012-07-27 23:32:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10830052/9001
8 years, 4 months ago (2012-07-28 00:02:40 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-07-28 02:14:00 UTC) #14
Change committed as 148868

Powered by Google App Engine
This is Rietveld 408576698