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

Issue 11226037: Incognito-allowed package apps produce duplicate items in context menu (Closed)

Created:
8 years, 2 months ago by Joe Thomas
Modified:
8 years, 1 month ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Incognito-allowed package apps produce duplicate items in context menu Clean-up all context menu items created for 'incognito' 'split' mode while destroying incognito profile. Patch from Joe Thomas <mhx348@motorola.com>;. BUG=138487 TEST=As mentioned in the bug report Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165029

Patch Set 1 #

Patch Set 2 : unittest added #

Total comments: 8

Patch Set 3 : Review-comments incorporated #

Patch Set 4 : BrowserTest Added #

Total comments: 1

Patch Set 5 : Review comments incorporated #

Total comments: 2

Patch Set 6 : nit fixed #

Patch Set 7 : fixed unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -12 lines) Patch
M chrome/browser/extensions/extension_context_menu_browsertest.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 2 3 4 5 6 3 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/extensions/menu_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/menu_manager.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/menu_manager_unittest.cc View 1 2 chunks +37 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
Joe Thomas
8 years, 2 months ago (2012-10-22 17:18:23 UTC) #1
Joe Thomas
8 years, 2 months ago (2012-10-23 19:38:59 UTC) #2
asargent_no_longer_on_chrome
This seems reasonable overall. Can you please add a browser test to verify the change? ...
8 years, 2 months ago (2012-10-24 00:21:10 UTC) #3
Joe Thomas
Thanks for the review. On 2012/10/24 00:21:10, Antony Sargent wrote: > This seems reasonable overall. ...
8 years, 2 months ago (2012-10-24 02:25:03 UTC) #4
Joe Thomas
@asargent: Could you please review the patch again.? Thanks Joe
8 years, 1 month ago (2012-10-25 17:48:52 UTC) #5
asargent_no_longer_on_chrome
LGTM - want me to hit the commit queue button for you?
8 years, 1 month ago (2012-10-25 17:49:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/11226037/4001
8 years, 1 month ago (2012-10-25 17:50:58 UTC) #7
commit-bot: I haz the power
Presubmit check for 11226037-4001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-10-25 17:51:03 UTC) #8
Joe Thomas
On 2012/10/25 17:49:31, Antony Sargent wrote: > LGTM - want me to hit the commit ...
8 years, 1 month ago (2012-10-25 17:51:19 UTC) #9
Joe Thomas
@sail: Could you please review chrome/browser/profiles ? Thanks Joe
8 years, 1 month ago (2012-10-25 18:00:36 UTC) #10
sail
https://codereview.chromium.org/11226037/diff/4001/chrome/browser/profiles/off_the_record_profile_impl.cc File chrome/browser/profiles/off_the_record_profile_impl.cc (right): https://codereview.chromium.org/11226037/diff/4001/chrome/browser/profiles/off_the_record_profile_impl.cc#newcode128 chrome/browser/profiles/off_the_record_profile_impl.cc:128: MaybeSendDestroyedNotification(); Hm.. do you really need to change profiles ...
8 years, 1 month ago (2012-10-25 19:22:00 UTC) #11
Joe Thomas
https://codereview.chromium.org/11226037/diff/4001/chrome/browser/profiles/off_the_record_profile_impl.cc File chrome/browser/profiles/off_the_record_profile_impl.cc (right): https://codereview.chromium.org/11226037/diff/4001/chrome/browser/profiles/off_the_record_profile_impl.cc#newcode128 chrome/browser/profiles/off_the_record_profile_impl.cc:128: MaybeSendDestroyedNotification(); On 2012/10/25 19:22:00, sail wrote: > Hm.. do ...
8 years, 1 month ago (2012-10-25 19:49:42 UTC) #12
sail
https://codereview.chromium.org/11226037/diff/4001/chrome/browser/profiles/off_the_record_profile_impl.cc File chrome/browser/profiles/off_the_record_profile_impl.cc (right): https://codereview.chromium.org/11226037/diff/4001/chrome/browser/profiles/off_the_record_profile_impl.cc#newcode128 chrome/browser/profiles/off_the_record_profile_impl.cc:128: MaybeSendDestroyedNotification(); On 2012/10/25 19:49:42, Joe Thomas wrote: > On ...
8 years, 1 month ago (2012-10-25 19:56:14 UTC) #13
Joe Thomas
@Antony Sargent: Could you please review chrome/browser/extensions/extension_process_manager.cc? I moved the code in off_the_record_profile_impl.cc to here. ...
8 years, 1 month ago (2012-10-26 03:49:53 UTC) #14
sail
This code still requires a test (as per my pervious comment). https://codereview.chromium.org/11226037/diff/4001/chrome/browser/profiles/off_the_record_profile_impl.cc File chrome/browser/profiles/off_the_record_profile_impl.cc (right): ...
8 years, 1 month ago (2012-10-26 04:36:30 UTC) #15
Joe Thomas
On 2012/10/26 04:36:30, sail wrote: > This code still requires a test (as per my ...
8 years, 1 month ago (2012-10-26 15:58:16 UTC) #16
Joe Thomas
On 2012/10/26 04:36:30, sail wrote: > This code still requires a test (as per my ...
8 years, 1 month ago (2012-10-26 16:00:42 UTC) #17
sail
On 2012/10/26 16:00:42, Joe Thomas wrote: > On 2012/10/26 04:36:30, sail wrote: > > This ...
8 years, 1 month ago (2012-10-26 17:14:05 UTC) #18
Joe Thomas
Added Browser test. @Antony Sargent: Could you please review the CL again? Thanks Joe
8 years, 1 month ago (2012-10-29 19:26:08 UTC) #19
Joe Thomas
On 2012/10/26 17:14:05, sail wrote: > On 2012/10/26 16:00:42, Joe Thomas wrote: > > On ...
8 years, 1 month ago (2012-10-29 19:33:23 UTC) #20
sail
Thanks for the test. LGTM
8 years, 1 month ago (2012-10-29 20:55:06 UTC) #21
Joe Thomas
On 2012/10/29 20:55:06, sail wrote: > Thanks for the test. LGTM Thanks for the review. ...
8 years, 1 month ago (2012-10-29 20:58:29 UTC) #22
sail
On 2012/10/29 20:58:29, Joe Thomas wrote: > On 2012/10/29 20:55:06, sail wrote: > > Thanks ...
8 years, 1 month ago (2012-10-29 21:01:51 UTC) #23
Joe Thomas
@Antony Sargent: Could you please review extension_process_manager.cc? Thanks Joe
8 years, 1 month ago (2012-10-29 21:13:08 UTC) #24
Yoyo Zhou
https://codereview.chromium.org/11226037/diff/18001/chrome/browser/extensions/extension_process_manager.cc File chrome/browser/extensions/extension_process_manager.cc (right): https://codereview.chromium.org/11226037/diff/18001/chrome/browser/extensions/extension_process_manager.cc#newcode626 chrome/browser/extensions/extension_process_manager.cc:626: Profile* profile = content::Source<Profile>(source).ptr(); Note that only the incognito ...
8 years, 1 month ago (2012-10-29 21:26:51 UTC) #25
Joe Thomas
8 years, 1 month ago (2012-10-29 22:05:44 UTC) #26
Yoyo Zhou
LGTM for extension_process_manager, but please fix nit before submitting https://codereview.chromium.org/11226037/diff/18003/chrome/browser/extensions/extension_process_manager.cc File chrome/browser/extensions/extension_process_manager.cc (right): https://codereview.chromium.org/11226037/diff/18003/chrome/browser/extensions/extension_process_manager.cc#newcode826 chrome/browser/extensions/extension_process_manager.cc:826: ...
8 years, 1 month ago (2012-10-29 22:23:40 UTC) #27
Joe Thomas
https://codereview.chromium.org/11226037/diff/18003/chrome/browser/extensions/extension_process_manager.cc File chrome/browser/extensions/extension_process_manager.cc (right): https://codereview.chromium.org/11226037/diff/18003/chrome/browser/extensions/extension_process_manager.cc#newcode826 chrome/browser/extensions/extension_process_manager.cc:826: IncognitoExtensionProcessManager::~IncognitoExtensionProcessManager() { On 2012/10/29 22:23:40, Yoyo Zhou wrote: > ...
8 years, 1 month ago (2012-10-29 23:04:42 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/11226037/27001
8 years, 1 month ago (2012-10-29 23:05:10 UTC) #29
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 1 month ago (2012-10-29 23:46:34 UTC) #30
Joe Thomas
On 2012/10/29 23:46:34, I haz the power (commit-bot) wrote: > Retried try job too often ...
8 years, 1 month ago (2012-10-30 02:01:26 UTC) #31
Yoyo Zhou
LGTM
8 years, 1 month ago (2012-10-30 20:21:46 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/11226037/21006
8 years, 1 month ago (2012-10-30 20:21:59 UTC) #33
commit-bot: I haz the power
8 years, 1 month ago (2012-10-30 22:14:33 UTC) #34
Change committed as 165029

Powered by Google App Engine
This is Rietveld 408576698