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

Issue 11308024: Fixing guest processes to use the proper storage partition. (Closed)

Created:
8 years, 1 month ago by awong
Modified:
8 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, jam, chromium-apps-reviews_chromium.org, nasko
Visibility:
Public.

Description

Fixing guest processes to use the proper storage partition. Pikcing up from Nasko. Original CL here: https://codereview.chromium.org/11320018/ BUG=158128

Patch Set 1 #

Patch Set 2 : fix some substring match bugs #

Total comments: 4

Patch Set 3 : fix comments #

Total comments: 1

Patch Set 4 : add comment to test. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -32 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 2 chunks +13 lines, -4 lines 1 comment Download
M chrome/browser/extensions/web_view_browsertest.cc View 1 2 3 1 chunk +10 lines, -4 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 2 chunks +2 lines, -10 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 chunks +2 lines, -1 line 1 comment Download
M content/browser/renderer_host/render_process_host_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/storage_partition_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.cc View 1 3 chunks +6 lines, -5 lines 0 comments Download
M content/browser/storage_partition_impl_map.cc View 1 1 chunk +7 lines, -2 lines 0 comments Download
M content/common/url_schemes.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
awong
8 years, 1 month ago (2012-10-27 00:50:32 UTC) #1
awong
Hey Charlie, ready for a review.
8 years, 1 month ago (2012-10-27 01:00:08 UTC) #2
Charlie Reis
LGTM with nits below. https://codereview.chromium.org/11308024/diff/3001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/11308024/diff/3001/chrome/browser/chrome_content_browser_client.cc#newcode1613 chrome/browser/chrome_content_browser_client.cc:1613: // privileges. nit: This comment ...
8 years, 1 month ago (2012-10-27 01:11:43 UTC) #3
awong
comments addressed. OWNERS: willchan -- ProfileImplIOHateMyLifeBlah finnur -- extensions test https://codereview.chromium.org/11308024/diff/3001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/11308024/diff/3001/chrome/browser/chrome_content_browser_client.cc#newcode1613 ...
8 years, 1 month ago (2012-10-27 01:23:54 UTC) #4
willchan no longer on Chromium
lgtm
8 years, 1 month ago (2012-10-27 01:32:53 UTC) #5
Finnur
https://codereview.chromium.org/11308024/diff/11001/chrome/browser/extensions/web_view_browsertest.cc File chrome/browser/extensions/web_view_browsertest.cc (right): https://codereview.chromium.org/11308024/diff/11001/chrome/browser/extensions/web_view_browsertest.cc#newcode118 chrome/browser/extensions/web_view_browsertest.cc:118: EXPECT_EQ("guest1=true; guest2=true", cookie_value); This is a bit hard to ...
8 years, 1 month ago (2012-10-29 10:14:41 UTC) #6
awong
Added a comment. It's a value set earlier in the test.
8 years, 1 month ago (2012-10-29 19:02:34 UTC) #7
Finnur
Test LGTM.
8 years, 1 month ago (2012-10-30 10:19:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/11308024/14001
8 years, 1 month ago (2012-10-30 15:25:45 UTC) #9
commit-bot: I haz the power
Presubmit check for 11308024-14001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-10-30 15:25:56 UTC) #10
nasko
Adding thakis@ for chrome/ OWNERS review.
8 years, 1 month ago (2012-10-30 15:27:05 UTC) #11
Nico
8 years, 1 month ago (2012-10-31 01:26:05 UTC) #12
lgtm stamp, but some naming comments for the future below.

https://codereview.chromium.org/11308024/diff/14001/chrome/browser/chrome_con...
File chrome/browser/chrome_content_browser_client.cc (right):

https://codereview.chromium.org/11308024/diff/14001/chrome/browser/chrome_con...
chrome/browser/chrome_content_browser_client.cc:494: if
(site.SchemeIs(chrome::kGuestScheme))
"guest" means "a process embedded in another process" or some such in this
context and is unrelated to cros guest accounts, right? Can this be renamed so
that that's more explicit?

https://codereview.chromium.org/11308024/diff/14001/chrome/browser/profiles/p...
File chrome/browser/profiles/profile_impl_io_data.cc (right):

https://codereview.chromium.org/11308024/diff/14001/chrome/browser/profiles/p...
chrome/browser/profiles/profile_impl_io_data.cc:491: bool is_guest_process =
StartsWithASCII(app_id, "guest-", true);
Also, it looks like "guest-" is scattered about in many places. Can you add a
few functions to abstract this? (e.g. "IsGuestProcess(app_id)")

Powered by Google App Engine
This is Rietveld 408576698