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

Issue 64953004: Split extensions::MenuManager instance out from ExtensionService. (Closed)

Created:
7 years, 1 month ago by benwells
Modified:
7 years, 1 month ago
Reviewers:
miket_OOO, James Cook, sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, extensions-reviews_chromium.org, Yoyo Zhou, James Cook, Daniel Erat, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Split extensions::MenuManager instance out from ExtensionService. This is now its own BCKS. There was no need for it to be in ExtensionService. TBR=sky@chromium.org BUG=162530 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235120

Patch Set 1 #

Patch Set 2 : Browser test compile #

Patch Set 3 : Clear incognito properly #

Patch Set 4 : unit tests compile #

Total comments: 6

Patch Set 5 : Explicit nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -73 lines) Patch
M chrome/browser/extensions/api/context_menus/context_menus_api.cc View 5 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/extensions/context_menu_matcher.cc View 4 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_context_menu_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.h View 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/menu_manager.h View 1 2 3 4 4 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/extensions/menu_manager.cc View 1 2 5 chunks +48 lines, -24 lines 0 comments Download
A + chrome/browser/extensions/menu_manager_factory.h View 2 chunks +14 lines, -10 lines 0 comments Download
A chrome/browser/extensions/menu_manager_factory.cc View 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/browser/extensions/menu_manager_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/process_manager.cc View 1 2 2 chunks +1 line, -10 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
benwells
7 years, 1 month ago (2013-11-13 10:29:03 UTC) #1
miket_OOO
LGTM unless my comment is valid. https://codereview.chromium.org/64953004/diff/110001/chrome/browser/extensions/menu_manager_factory.cc File chrome/browser/extensions/menu_manager_factory.cc (right): https://codereview.chromium.org/64953004/diff/110001/chrome/browser/extensions/menu_manager_factory.cc#newcode56 chrome/browser/extensions/menu_manager_factory.cc:56: return true; Is ...
7 years, 1 month ago (2013-11-13 16:52:18 UTC) #2
James Cook
Drive-by comments https://codereview.chromium.org/64953004/diff/110001/chrome/browser/extensions/menu_manager.h File chrome/browser/extensions/menu_manager.h (right): https://codereview.chromium.org/64953004/diff/110001/chrome/browser/extensions/menu_manager.h#newcode251 chrome/browser/extensions/menu_manager.h:251: explicit MenuManager(Profile* profile, StateStore* store_); nit: no ...
7 years, 1 month ago (2013-11-13 17:04:30 UTC) #3
benwells
In the interest of getting stuff landed, I'm going to put this in the queue ...
7 years, 1 month ago (2013-11-14 01:44:42 UTC) #4
benwells
+tbr sky for refactoring fallout
7 years, 1 month ago (2013-11-14 01:46:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/64953004/230001
7 years, 1 month ago (2013-11-14 01:48:14 UTC) #6
commit-bot: I haz the power
Retried try job too often on mac for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=101685
7 years, 1 month ago (2013-11-14 02:46:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/64953004/230001
7 years, 1 month ago (2013-11-14 03:05:18 UTC) #8
commit-bot: I haz the power
Change committed as 235120
7 years, 1 month ago (2013-11-14 11:14:21 UTC) #9
miket_OOO
7 years, 1 month ago (2013-11-14 23:07:31 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/64953004/diff/110001/chrome/browser/extension...
File chrome/browser/extensions/menu_manager_factory.cc (right):

https://codereview.chromium.org/64953004/diff/110001/chrome/browser/extension...
chrome/browser/extensions/menu_manager_factory.cc:56: return true;
I understand now. I thought it was more of a getter-for-testing kind of method,
but now that I see the usage elsewhere in the codebase, I get that it's a
runtime signal telling test code how to use it efficiently. Still LGTM!

Powered by Google App Engine
This is Rietveld 408576698