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

Issue 52983004: Convert ExtensionProcessManager to BrowserContext, part 1 (Closed)

Created:
7 years, 1 month ago by James Cook
Modified:
7 years, 1 month ago
Reviewers:
miket_OOO
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, Yoyo Zhou
Visibility:
Public.

Description

Convert ExtensionProcessManager to BrowserContext, part 1 Part of moving ExtensionProcessManager to src/extensions. * Introduce more test coverage * Convert most usage of Profile to BrowserContext * Separate out "master" vs. incognito profiles/contexts * Move switches into extensions/common/switches.h BUG=313481 TEST=unit_tests ExtensionProcessManager* and browser_tests ExtensionProcessManager* R=miket@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232456

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : rebase, add browser test #

Total comments: 6

Patch Set 4 : fix chromeos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -127 lines) Patch
M chrome/browser/apps/app_browsertest_util.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/runtime/runtime_api.h View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/runtime/runtime_api.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 2 chunks +29 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_context_menu_browsertest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.h View 7 chunks +14 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 2 3 27 chunks +104 lines, -87 lines 0 comments Download
A chrome/browser/extensions/extension_process_manager_browsertest.cc View 1 2 1 chunk +92 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager_unittest.cc View 1 2 3 chunks +84 lines, -3 lines 0 comments Download
M chrome/browser/extensions/lazy_background_page_apitest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/notifications_apitest.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M extensions/browser/extensions_browser_client.h View 2 chunks +10 lines, -1 line 0 comments Download
M extensions/browser/lazy_background_task_queue_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/switches.h View 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/common/switches.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
James Cook
miket, PTAL - this is the test-introduction and mechanical part of this change yoz, just ...
7 years, 1 month ago (2013-10-31 21:24:11 UTC) #1
miket_OOO
Good stuff! LGTM https://codereview.chromium.org/52983004/diff/70001/chrome/browser/extensions/chrome_extensions_browser_client.cc File chrome/browser/extensions/chrome_extensions_browser_client.cc (right): https://codereview.chromium.org/52983004/diff/70001/chrome/browser/extensions/chrome_extensions_browser_client.cc#newcode50 chrome/browser/extensions/chrome_extensions_browser_client.cc:50: return static_cast<Profile*>(context)->GetOriginalProfile(); This is probably already ...
7 years, 1 month ago (2013-10-31 23:04:53 UTC) #2
James Cook
https://codereview.chromium.org/52983004/diff/70001/chrome/browser/extensions/chrome_extensions_browser_client.cc File chrome/browser/extensions/chrome_extensions_browser_client.cc (right): https://codereview.chromium.org/52983004/diff/70001/chrome/browser/extensions/chrome_extensions_browser_client.cc#newcode50 chrome/browser/extensions/chrome_extensions_browser_client.cc:50: return static_cast<Profile*>(context)->GetOriginalProfile(); On 2013/10/31 23:04:53, miket wrote: > This ...
7 years, 1 month ago (2013-11-01 00:08:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/52983004/70001
7 years, 1 month ago (2013-11-01 00:19:53 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=170488
7 years, 1 month ago (2013-11-01 04:05:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/52983004/360001
7 years, 1 month ago (2013-11-01 05:20:07 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=217274
7 years, 1 month ago (2013-11-01 07:51:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/52983004/360001
7 years, 1 month ago (2013-11-01 15:44:08 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=217509
7 years, 1 month ago (2013-11-01 19:33:35 UTC) #9
James Cook
Committed patchset #4 manually as r232456 (presubmit successful).
7 years, 1 month ago (2013-11-01 20:18:59 UTC) #10
James Cook
On 2013/11/01 20:18:59, James Cook wrote: > Committed patchset #4 manually as r232456 (presubmit successful). ...
7 years, 1 month ago (2013-11-01 23:34:37 UTC) #11
James Cook
7 years, 1 month ago (2013-11-04 18:37:01 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698