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

Issue 21271002: Added SkImageFilter serialization (Closed)

Created:
7 years, 4 months ago by sugoi1
Modified:
7 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam
Visibility:
Public.

Description

Added SkImageFilter serialization BUG=164084 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217117

Patch Set 1 #

Total comments: 4

Patch Set 2 : Hid new ipc code behind flag and removed test changes #

Total comments: 2

Patch Set 3 : Unit test is back and enables the flag #

Total comments: 5

Patch Set 4 : Always Read/Write data, but ignore send/receive based on flag #

Total comments: 3

Patch Set 5 : Skia API changes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -6 lines) Patch
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/cc_messages.h View 2 chunks +9 lines, -2 lines 0 comments Download
M content/common/cc_messages.cc View 1 2 3 4 2 chunks +39 lines, -0 lines 1 comment Download
M content/common/cc_messages_unittest.cc View 1 2 6 chunks +15 lines, -4 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 1 comment Download

Messages

Total messages: 48 (0 generated)
sugoi1
Here's a first version of the SkImageFilter uploaded to receive initial comments
7 years, 4 months ago (2013-07-30 17:57:25 UTC) #1
danakj
Has there been a security review of the SkImageFilter for serialization to the browser process?
7 years, 4 months ago (2013-07-30 18:00:06 UTC) #2
sugoi1
On 2013/07/30 18:00:06, danakj wrote: > Has there been a security review of the SkImageFilter ...
7 years, 4 months ago (2013-07-30 18:05:19 UTC) #3
danakj
On Tue, Jul 30, 2013 at 2:05 PM, <sugoi@chromium.org> wrote: > On 2013/07/30 18:00:06, danakj ...
7 years, 4 months ago (2013-07-30 18:06:31 UTC) #4
danakj
+palmer from security team
7 years, 4 months ago (2013-07-30 18:06:53 UTC) #5
sugoi1
On 2013/07/30 18:06:31, danakj wrote: > On Tue, Jul 30, 2013 at 2:05 PM, <mailto:sugoi@chromium.org> ...
7 years, 4 months ago (2013-07-30 18:10:41 UTC) #6
piman
https://codereview.chromium.org/21271002/diff/1/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/21271002/diff/1/content/common/cc_messages.cc#newcode211 content/common/cc_messages.cc:211: *r = skia::AdoptRef(buffer.readFlattenableT<SkImageFilter>()); Yes, obviously we can't land this ...
7 years, 4 months ago (2013-07-30 19:57:35 UTC) #7
sugoi1
https://codereview.chromium.org/21271002/diff/1/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/21271002/diff/1/content/common/cc_messages.cc#newcode211 content/common/cc_messages.cc:211: *r = skia::AdoptRef(buffer.readFlattenableT<SkImageFilter>()); On 2013/07/30 19:57:35, piman wrote: > ...
7 years, 4 months ago (2013-07-30 20:08:21 UTC) #8
sugoi1
Hid all the new IPC code behind a temporary flag, which will be removed once ...
7 years, 4 months ago (2013-07-31 15:31:23 UTC) #9
Stephen White
On 2013/07/31 15:31:23, sugoi1 wrote: > Hid all the new IPC code behind a temporary ...
7 years, 4 months ago (2013-07-31 17:08:00 UTC) #10
sugoi1
On 2013/07/31 17:08:00, Stephen White wrote: > Is there no way to set the flag ...
7 years, 4 months ago (2013-07-31 18:04:42 UTC) #11
piman
https://codereview.chromium.org/21271002/diff/13001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/21271002/diff/13001/content/common/cc_messages.cc#newcode196 content/common/cc_messages.cc:196: return; As it is, this relies on the flag ...
7 years, 4 months ago (2013-08-01 19:53:21 UTC) #12
sugoi1
On 2013/08/01 19:53:21, piman wrote: > https://codereview.chromium.org/21271002/diff/13001/content/common/cc_messages.cc > File content/common/cc_messages.cc (right): > > https://codereview.chromium.org/21271002/diff/13001/content/common/cc_messages.cc#newcode196 > ...
7 years, 4 months ago (2013-08-01 19:57:18 UTC) #13
sugoi1
https://codereview.chromium.org/21271002/diff/13001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/21271002/diff/13001/content/common/cc_messages.cc#newcode196 content/common/cc_messages.cc:196: return; On 2013/08/01 19:53:22, piman wrote: > As it ...
7 years, 4 months ago (2013-08-01 20:23:28 UTC) #14
palmer
https://codereview.chromium.org/21271002/diff/17001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/21271002/diff/17001/content/common/cc_messages.cc#newcode195 content/common/cc_messages.cc:195: if (!command_line.HasSwitch(switches::kAllowFiltersOverIPC)) For security purposes, this check should be ...
7 years, 4 months ago (2013-08-01 20:26:27 UTC) #15
piman
https://codereview.chromium.org/21271002/diff/17001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/21271002/diff/17001/content/common/cc_messages.cc#newcode195 content/common/cc_messages.cc:195: if (!command_line.HasSwitch(switches::kAllowFiltersOverIPC)) On 2013/08/01 20:26:27, Chromium Palmer wrote: > ...
7 years, 4 months ago (2013-08-01 21:25:28 UTC) #16
sugoi1
@palmer, @piman: so, is there anything else you want me to do for this cl ...
7 years, 4 months ago (2013-08-06 17:38:43 UTC) #17
palmer
LGTM https://codereview.chromium.org/21271002/diff/17001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/21271002/diff/17001/content/common/cc_messages.cc#newcode211 content/common/cc_messages.cc:211: if (!command_line.HasSwitch(switches::kAllowFiltersOverIPC)) { > FYI, that side is ...
7 years, 4 months ago (2013-08-06 17:48:30 UTC) #18
palmer
I should say, looks good to me as long as my understanding is correct.
7 years, 4 months ago (2013-08-06 17:49:05 UTC) #19
sugoi1
On 2013/08/06 17:49:05, Chromium Palmer wrote: > I should say, looks good to me as ...
7 years, 4 months ago (2013-08-06 17:57:24 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/21271002/28001
7 years, 4 months ago (2013-08-06 17:58:16 UTC) #21
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=19079
7 years, 4 months ago (2013-08-06 18:11:11 UTC) #22
sugoi1
Adding reviewers (jochen@, cevans@) for missing owners approvals.
7 years, 4 months ago (2013-08-06 18:35:48 UTC) #23
danakj
On 2013/08/06 18:35:48, sugoi1 wrote: > Adding reviewers (jochen@, cevans@) for missing owners approvals. When ...
7 years, 4 months ago (2013-08-06 18:36:53 UTC) #24
sugoi1
On 2013/08/06 18:36:53, danakj wrote: > On 2013/08/06 18:35:48, sugoi1 wrote: > > Adding reviewers ...
7 years, 4 months ago (2013-08-06 18:44:47 UTC) #25
piman
LGTM - sorry, I missed the fact that you had uploaded a patch with my ...
7 years, 4 months ago (2013-08-06 21:50:52 UTC) #26
Chris Evans
On 2013/08/06 21:50:52, piman wrote: > LGTM - sorry, I missed the fact that you ...
7 years, 4 months ago (2013-08-06 22:13:43 UTC) #27
piman
On Tue, Aug 6, 2013 at 3:13 PM, <cevans@chromium.org> wrote: > On 2013/08/06 21:50:52, piman ...
7 years, 4 months ago (2013-08-06 22:21:17 UTC) #28
Chris Evans
On 2013/08/06 22:21:17, piman wrote: > On Tue, Aug 6, 2013 at 3:13 PM, <mailto:cevans@chromium.org> ...
7 years, 4 months ago (2013-08-06 22:26:36 UTC) #29
piman
On Tue, Aug 6, 2013 at 3:26 PM, <cevans@chromium.org> wrote: > On 2013/08/06 22:21:17, piman ...
7 years, 4 months ago (2013-08-06 22:29:27 UTC) #30
jochen (gone - plz use gerrit)
https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc File chrome/browser/chromeos/login/chrome_restart_request.cc (right): https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc#newcode71 chrome/browser/chromeos/login/chrome_restart_request.cc:71: ::switches::kAllowFiltersOverIPC, why do you add the flag here?
7 years, 4 months ago (2013-08-07 04:44:38 UTC) #31
sugoi1
https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc File chrome/browser/chromeos/login/chrome_restart_request.cc (right): https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc#newcode71 chrome/browser/chromeos/login/chrome_restart_request.cc:71: ::switches::kAllowFiltersOverIPC, On 2013/08/07 04:44:38, jochen wrote: > why do ...
7 years, 4 months ago (2013-08-07 11:43:53 UTC) #32
jochen (gone - plz use gerrit)
On 2013/08/07 11:43:53, sugoi1 wrote: > https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc > File chrome/browser/chromeos/login/chrome_restart_request.cc (right): > > https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc#newcode71 > ...
7 years, 4 months ago (2013-08-07 12:56:34 UTC) #33
danakj
https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc File chrome/browser/chromeos/login/chrome_restart_request.cc (right): https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc#newcode71 chrome/browser/chromeos/login/chrome_restart_request.cc:71: ::switches::kAllowFiltersOverIPC, On 2013/08/07 04:44:38, jochen wrote: > why do ...
7 years, 4 months ago (2013-08-07 13:01:13 UTC) #34
jochen (gone - plz use gerrit)
On 2013/08/07 13:01:13, danakj wrote: > https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc > File chrome/browser/chromeos/login/chrome_restart_request.cc (right): > > https://codereview.chromium.org/21271002/diff/28001/chrome/browser/chromeos/login/chrome_restart_request.cc#newcode71 > ...
7 years, 4 months ago (2013-08-07 13:02:44 UTC) #35
danakj
From the command line for development purposes. Later from the session setup scripts that launch ...
7 years, 4 months ago (2013-08-07 13:08:07 UTC) #36
danakj
Yes, guest mode is what I meant there. On Aug 7, 2013 9:02 AM, <jochen@chromium.org> ...
7 years, 4 months ago (2013-08-07 13:08:55 UTC) #37
jochen (gone - plz use gerrit)
ok, lgtm
7 years, 4 months ago (2013-08-07 13:47:30 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/21271002/28001
7 years, 4 months ago (2013-08-07 14:01:04 UTC) #39
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests, browser_tests, content_browsertests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=143155
7 years, 4 months ago (2013-08-07 14:21:18 UTC) #40
sugoi1
I was asked by the Skia folks to add an API for serialization, instead of ...
7 years, 4 months ago (2013-08-09 15:03:37 UTC) #41
piman
https://codereview.chromium.org/21271002/diff/82001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/21271002/diff/82001/content/common/cc_messages.cc#newcode213 content/common/cc_messages.cc:213: *r = skia::AdoptRef(static_cast<SkImageFilter*>(flattenable)); Even after we make the deserialization ...
7 years, 4 months ago (2013-08-09 17:38:24 UTC) #42
sugoi1
On 2013/08/09 17:38:24, piman wrote: > https://codereview.chromium.org/21271002/diff/82001/content/common/cc_messages.cc > File content/common/cc_messages.cc (right): > > https://codereview.chromium.org/21271002/diff/82001/content/common/cc_messages.cc#newcode213 > ...
7 years, 4 months ago (2013-08-09 17:53:55 UTC) #43
tomhudson
On 2013/08/09 17:53:55, sugoi1 wrote: > Agreed, I will most likely need to change the ...
7 years, 4 months ago (2013-08-09 19:35:56 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/21271002/82001
7 years, 4 months ago (2013-08-12 15:15:43 UTC) #45
commit-bot: I haz the power
Change committed as 217117
7 years, 4 months ago (2013-08-12 23:45:08 UTC) #46
gab
https://chromiumcodereview.appspot.com/21271002/diff/82001/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): https://chromiumcodereview.appspot.com/21271002/diff/82001/content/public/common/content_switches.cc#newcode930 content/public/common/content_switches.cc:930: // Don't dump stuff here, follow the same order ...
7 years, 4 months ago (2013-08-22 02:37:18 UTC) #47
sugoi1
7 years, 4 months ago (2013-08-22 15:08:24 UTC) #48
Message was sent while issue was closed.
On 2013/08/22 02:37:18, gab wrote:
>
https://chromiumcodereview.appspot.com/21271002/diff/82001/content/public/com...
> File content/public/common/content_switches.cc (right):
> 
>
https://chromiumcodereview.appspot.com/21271002/diff/82001/content/public/com...
> content/public/common/content_switches.cc:930: // Don't dump stuff here,
follow
> the same order as the header.
> See this line.
> 
> New switches should be added in alphabetical order with the rest of the
switches
> in this file. 
> 
> Please fix this.
> 
> Thanks,
> Gab

Done. See https://codereview.chromium.org/22831029/

Powered by Google App Engine
This is Rietveld 408576698