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

Issue 2787713002: Remove deprecated extension notification from shortcuts_extensions_manager.h/cc (Closed)

Created:
3 years, 8 months ago by limasdf
Modified:
3 years, 8 months ago
Reviewers:
Peter Kasting, Mark P
CC:
chromium-reviews, jdonnelly+watch_chromium.org, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove deprecated extension notification from shortcuts_extensions_manager.h/cc Use ExtensionRegistryObserver instead of deprecated extension notifications. Also, Make shortcuts_extensions_manager.h/cc buildable only for enable_extension. TEST=unit_tests --gtest_filter=ShortcutsProviderExtensionTest.Extension BUG=411568 Review-Url: https://codereview.chromium.org/2787713002 Cr-Commit-Position: refs/heads/master@{#461078} Committed: https://chromium.googlesource.com/chromium/src/+/01409c3315646cb0acca04308f67421410791800

Patch Set 1 #

Patch Set 2 : move to enable_extensions #

Total comments: 10

Patch Set 3 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -46 lines) Patch
M chrome/browser/BUILD.gn View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_backend_factory.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_extensions_manager.h View 1 2 1 chunk +19 lines, -10 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_extensions_manager.cc View 1 2 2 chunks +13 lines, -24 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_provider_extension_unittest.cc View 2 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 33 (21 generated)
limasdf
Hi Sky, Could you take a look when you have time?
3 years, 8 months ago (2017-03-30 17:19:45 UTC) #12
sky
sky->mpearson
3 years, 8 months ago (2017-03-30 20:23:51 UTC) #16
Mark P
I'm not familiar with this code at all. Handing off to pkasting@. --mark
3 years, 8 months ago (2017-03-30 23:07:56 UTC) #17
Mark P
mpearson->pkasting --mark
3 years, 8 months ago (2017-03-30 23:08:20 UTC) #19
Peter Kasting
LGTM https://codereview.chromium.org/2787713002/diff/80001/chrome/browser/autocomplete/shortcuts_backend_factory.cc File chrome/browser/autocomplete/shortcuts_backend_factory.cc (right): https://codereview.chromium.org/2787713002/diff/80001/chrome/browser/autocomplete/shortcuts_backend_factory.cc#newcode21 chrome/browser/autocomplete/shortcuts_backend_factory.cc:21: #if BUILDFLAG(ENABLE_EXTENSIONS) Nit: Have one #if cover the ...
3 years, 8 months ago (2017-03-30 23:35:31 UTC) #20
limasdf
Thank you very much for the review! https://codereview.chromium.org/2787713002/diff/80001/chrome/browser/autocomplete/shortcuts_backend_factory.cc File chrome/browser/autocomplete/shortcuts_backend_factory.cc (right): https://codereview.chromium.org/2787713002/diff/80001/chrome/browser/autocomplete/shortcuts_backend_factory.cc#newcode21 chrome/browser/autocomplete/shortcuts_backend_factory.cc:21: #if BUILDFLAG(ENABLE_EXTENSIONS) ...
3 years, 8 months ago (2017-03-31 03:26:27 UTC) #21
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/2787713002/100001
3 years, 8 months ago (2017-03-31 03:27:02 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/184303)
3 years, 8 months ago (2017-03-31 04:55:44 UTC) #26
Peter Kasting
https://codereview.chromium.org/2787713002/diff/80001/chrome/browser/autocomplete/shortcuts_extensions_manager.cc File chrome/browser/autocomplete/shortcuts_extensions_manager.cc (right): https://codereview.chromium.org/2787713002/diff/80001/chrome/browser/autocomplete/shortcuts_extensions_manager.cc#newcode20 chrome/browser/autocomplete/shortcuts_extensions_manager.cc:20: ShortcutsExtensionsManager::~ShortcutsExtensionsManager() {} On 2017/03/31 03:26:27, limasdf wrote: > On ...
3 years, 8 months ago (2017-03-31 06:09:59 UTC) #27
limasdf
btw, ios-simulator failure doesn't seem to related to this change. I'll merge when flakiness disappeared. ...
3 years, 8 months ago (2017-03-31 06:17:53 UTC) #28
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/2787713002/100001
3 years, 8 months ago (2017-03-31 08:04:11 UTC) #30
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 08:36:59 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/01409c3315646cb0acca04308f67...

Powered by Google App Engine
This is Rietveld 408576698