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

Issue 2760733002: Check for already existing entry when adding to SiteProcessMap. (Closed)

Created:
3 years, 9 months ago by nasko
Modified:
3 years, 9 months ago
Reviewers:
Charlie Reis, Devlin
CC:
chromium-reviews, extensions-reviews_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for already existing entry when adding to SiteProcessMap. The SiteProcessMap::RegisterProcess can overwrite existing entries in the map, which can lead to incorrect process being mapped to a site in process-per-site mode. This CL checks for existence and avoids the overwrite. This CL is a reland of https://codereview.chromium.org/2739193004/ after the flaky test was fixed in https://codereview.chromium.org/2754173003/ BUG=700514 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2760733002 Cr-Commit-Position: refs/heads/master@{#457925} Committed: https://chromium.googlesource.com/chromium/src/+/d1aaa76016c981807fbe10c53c00de6061200c98

Patch Set 1 : Patch from https://codereview.chromium.org/2739193004/ #

Patch Set 2 : Restore ordering of test cases in webRequestBlocking. #

Messages

Total messages: 14 (9 generated)
nasko
Hey Charlie and Devlin, This is a reland of my previous CL to fix the ...
3 years, 9 months ago (2017-03-17 22:10:35 UTC) #5
Charlie Reis
Great! RS LGTM.
3 years, 9 months ago (2017-03-17 22:13:10 UTC) #6
Devlin
Woohoo! Thanks for the speedy turnaround. RS LGTM
3 years, 9 months ago (2017-03-17 22:15:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2760733002/20001
3 years, 9 months ago (2017-03-18 02:10:00 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-18 02:15:33 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d1aaa76016c981807fbe10c53c00...

Powered by Google App Engine
This is Rietveld 408576698