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

Issue 10928237: Add support for parsing a 'partition' attribute on the <browser> tag. (Closed)

Created:
8 years, 3 months ago by nasko
Modified:
8 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Add support for parsing a 'partition' attribute on the <browser> tag. BUG=145500 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158329

Patch Set 1 #

Patch Set 2 : Moving to UTF-8 encoded strings and added test for multibyte characters. #

Total comments: 22

Patch Set 3 : Fixes based on review from Charlie. #

Total comments: 6

Patch Set 4 : Fixing nits and removed restriction on setting attribute more than once. #

Patch Set 5 : Removing the attribute encoding test, as it fails to compile on Windows. #

Patch Set 6 : Resolving conflicts and removing redudnat variable. #

Total comments: 2

Patch Set 7 : Fixing ordering of variables. #

Patch Set 8 : Rebasing on ToT #

Patch Set 9 : Another ToT rebase. #

Patch Set 10 : Testing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -21 lines) Patch
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 6 7 3 chunks +12 lines, -4 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 4 chunks +62 lines, -10 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_bindings.cc View 1 2 3 4 5 6 7 5 chunks +42 lines, -7 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +111 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
nasko
Initial patch for <browser> tag to support parsing of a 'partition' attribute to support storage ...
8 years, 3 months ago (2012-09-17 19:01:03 UTC) #1
Fady Samuel
On 2012/09/17 19:01:03, nasko wrote: > Initial patch for <browser> tag to support parsing of ...
8 years, 3 months ago (2012-09-17 19:07:59 UTC) #2
michaeln
Looks like this CL supercedes http://codereview.chromium.org/10912054/. Can the older one be closed out now?
8 years, 3 months ago (2012-09-17 19:45:01 UTC) #3
nasko
On 2012/09/17 19:45:01, michaeln wrote: > Looks like this CL supercedes http://codereview.chromium.org/10912054/. Can the > ...
8 years, 3 months ago (2012-09-17 20:05:55 UTC) #4
nasko
Moved to UTF-8 for storing the string identifier and added specific test for non-ASCII partition ...
8 years, 3 months ago (2012-09-17 22:22:03 UTC) #5
Charlie Reis
Nice! https://codereview.chromium.org/10928237/diff/5001/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/10928237/diff/5001/content/renderer/browser_plugin/browser_plugin.cc#newcode111 content/renderer/browser_plugin/browser_plugin.cc:111: value.append("persist:"); This should be a constant at the ...
8 years, 3 months ago (2012-09-18 22:09:33 UTC) #6
nasko
Fixes based on Charlie's review. https://codereview.chromium.org/10928237/diff/5001/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/10928237/diff/5001/content/renderer/browser_plugin/browser_plugin.cc#newcode111 content/renderer/browser_plugin/browser_plugin.cc:111: value.append("persist:"); On 2012/09/18 22:09:33, ...
8 years, 3 months ago (2012-09-18 22:56:20 UTC) #7
Charlie Reis
https://codereview.chromium.org/10928237/diff/5001/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/10928237/diff/5001/content/renderer/browser_plugin/browser_plugin.cc#newcode124 content/renderer/browser_plugin/browser_plugin.cc:124: error_message = "The partition attribute has already been set."; ...
8 years, 3 months ago (2012-09-19 00:06:31 UTC) #8
nasko
https://codereview.chromium.org/10928237/diff/5001/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/10928237/diff/5001/content/renderer/browser_plugin/browser_plugin.cc#newcode124 content/renderer/browser_plugin/browser_plugin.cc:124: error_message = "The partition attribute has already been set."; ...
8 years, 3 months ago (2012-09-19 17:03:23 UTC) #9
nasko
I've removed the test for the encoding of the partition attribute. It fails to compile ...
8 years, 3 months ago (2012-09-19 20:19:10 UTC) #10
Charlie Reis
LGTM. Please wait for http://codereview.chromium.org/10868012/ to land and resolve the conflict, though.
8 years, 3 months ago (2012-09-19 22:30:39 UTC) #11
Fady Samuel
On 2012/09/19 22:30:39, creis wrote: > LGTM. Please wait for http://codereview.chromium.org/10868012/ to land and > ...
8 years, 3 months ago (2012-09-20 17:40:03 UTC) #12
nasko
Merged with Fady's changes.
8 years, 3 months ago (2012-09-20 20:35:33 UTC) #13
Fady Samuel
LGTM with one minor nit. How do you plan to carry the partition_id to the ...
8 years, 3 months ago (2012-09-20 20:49:21 UTC) #14
nasko
Yes, the idea so far is to piggy back on the navigate message. It will ...
8 years, 3 months ago (2012-09-20 21:24:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10928237/27002
8 years, 3 months ago (2012-09-21 15:26:29 UTC) #16
commit-bot: I haz the power
Failed to apply patch for content/renderer/browser_plugin/browser_plugin_bindings.cc: While running patch -p1 --forward --force; patching file content/renderer/browser_plugin/browser_plugin_bindings.cc ...
8 years, 3 months ago (2012-09-21 15:26:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10928237/30004
8 years, 3 months ago (2012-09-21 15:36:15 UTC) #18
commit-bot: I haz the power
Failed to apply patch for content/renderer/browser_plugin/browser_plugin_bindings.cc: While running patch -p1 --forward --force; patching file content/renderer/browser_plugin/browser_plugin_bindings.cc ...
8 years, 3 months ago (2012-09-21 15:36:22 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10928237/31006
8 years, 3 months ago (2012-09-21 16:26:09 UTC) #20
commit-bot: I haz the power
Retried try job too often for step(s) crypto_unittests, unit_tests, cacheinvalidation_unittests, remoting_unittests, jingle_unittests, nacl_integration, ipc_tests, interactive_ui_tests, ...
8 years, 3 months ago (2012-09-21 16:31:47 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10928237/39004
8 years, 3 months ago (2012-09-24 16:27:56 UTC) #22
commit-bot: I haz the power
8 years, 3 months ago (2012-09-24 18:38:55 UTC) #23
Change committed as 158329

Powered by Google App Engine
This is Rietveld 408576698