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

Issue 7328029: Use process-per-app-instance for hosted apps without background permission. (Closed)

Created:
9 years, 5 months ago by Charlie Reis
Modified:
9 years, 5 months ago
Reviewers:
jam, Matt Perry
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, Erik does not do reviews, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

Use process-per-app-instance for hosted apps without background permission. Also update ExtensionProcessManager to map SiteInstances to extensions, rather than extensions to processes. BUG=87644 TEST=AppApiTest.AppProcessInstances Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92099

Patch Set 1 #

Patch Set 2 : Update tests. #

Total comments: 6

Patch Set 3 : Fix review comments. #

Patch Set 4 : Fix geolocation for hosted apps. #

Patch Set 5 : Resolve merge conflicts. #

Total comments: 2

Patch Set 6 : Fix incognito function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -52 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 2 chunks +34 lines, -2 lines 0 comments Download
M chrome/browser/extensions/app_process_apitest.cc View 1 2 2 chunks +59 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.h View 1 2 3 4 2 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 2 3 4 5 6 chunks +43 lines, -25 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context.cc View 1 2 3 4 2 chunks +13 lines, -7 lines 0 comments Download
M chrome/test/data/extensions/api_test/app_process/manifest.json View 1 2 chunks +5 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/api_test/app_process_instances/manifest.json View 1 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/app_process_instances/path1/empty.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/app_process_instances/path2/empty.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browsing_instance.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/content_browser_client.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/site_instance.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/site_instance_unittest.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/content_notification_types.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Charlie Reis
Here's a change to put different instances of hosted apps in separate processes, unless the ...
9 years, 5 months ago (2011-07-08 21:59:19 UTC) #1
Matt Perry
LGTM http://codereview.chromium.org/7328029/diff/2001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): http://codereview.chromium.org/7328029/diff/2001/chrome/browser/chrome_content_browser_client.cc#newcode194 chrome/browser/chrome_content_browser_client.cc:194: const GURL& url) { rename url to effective_url ...
9 years, 5 months ago (2011-07-08 22:18:35 UTC) #2
Charlie Reis
Thanks Matt-- responses below. John, can you take a look for owners approval? I've factored ...
9 years, 5 months ago (2011-07-08 22:49:50 UTC) #3
Matt Perry
On 2011/07/08 22:49:50, creis wrote:http://codereview.chromium.org/7328029/diff/2001/chrome/browser/extensions/extension_process_manager.cc > File chrome/browser/extensions/extension_process_manager.cc (right): > > http://codereview.chromium.org/7328029/diff/2001/chrome/browser/extensions/extension_process_manager.cc#newcode224 > chrome/browser/extensions/extension_process_manager.cc:224: > ...
9 years, 5 months ago (2011-07-08 23:11:43 UTC) #4
Charlie Reis
On 2011/07/08 23:11:43, Matt Perry wrote: > > On 2011/07/08 22:18:35, Matt Perry wrote: > ...
9 years, 5 months ago (2011-07-11 20:27:12 UTC) #5
Matt Perry
On 2011/07/11 20:27:12, creis wrote: > On 2011/07/08 23:11:43, Matt Perry wrote: > > > ...
9 years, 5 months ago (2011-07-11 20:29:29 UTC) #6
Charlie Reis
On 2011/07/11 20:29:29, Matt Perry wrote: > On 2011/07/11 20:27:12, creis wrote: > > On ...
9 years, 5 months ago (2011-07-11 20:34:57 UTC) #7
Charlie Reis
Drat. I think I was mistaken-- if the web extent was origin-wide before, we did ...
9 years, 5 months ago (2011-07-11 21:46:56 UTC) #8
Charlie Reis
Thanks for the heads up about the geolocation logic, Matt. This CL should fix that ...
9 years, 5 months ago (2011-07-11 23:48:15 UTC) #9
Matt Perry
LGTM with below change http://codereview.chromium.org/7328029/diff/9005/chrome/browser/extensions/extension_process_manager.cc File chrome/browser/extensions/extension_process_manager.cc (right): http://codereview.chromium.org/7328029/diff/9005/chrome/browser/extensions/extension_process_manager.cc#newcode432 chrome/browser/extensions/extension_process_manager.cc:432: const Extension* IncognitoExtensionProcessManager::GetExtensionForSiteInstance( The logic ...
9 years, 5 months ago (2011-07-12 00:13:02 UTC) #10
Charlie Reis
http://codereview.chromium.org/7328029/diff/9005/chrome/browser/extensions/extension_process_manager.cc File chrome/browser/extensions/extension_process_manager.cc (right): http://codereview.chromium.org/7328029/diff/9005/chrome/browser/extensions/extension_process_manager.cc#newcode432 chrome/browser/extensions/extension_process_manager.cc:432: const Extension* IncognitoExtensionProcessManager::GetExtensionForSiteInstance( On 2011/07/12 00:13:02, Matt Perry wrote: ...
9 years, 5 months ago (2011-07-12 00:50:12 UTC) #11
jam
9 years, 5 months ago (2011-07-12 01:05:32 UTC) #12
content lgtm

Powered by Google App Engine
This is Rietveld 408576698