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

Issue 109683007: Pass a Feature* to IsAnyFeatureAvailableToContext instead of a string name. (Closed)

Created:
7 years ago by Jeffrey Yasskin
Modified:
7 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Pass a Feature* to IsAnyFeatureAvailableToContext instead of a string name. This makes it clear that we were never passing non-feature function names, which lets us simplify the test. BUG=305000 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241490

Patch Set 1 #

Patch Set 2 : Fix dumb compilation error #

Total comments: 3

Patch Set 3 : Update extension_api_stub.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -57 lines) Patch
M chrome/common/extensions/api/extension_api_unittest.cc View 2 chunks +21 lines, -34 lines 0 comments Download
M chrome/common/extensions/features/base_feature_provider.h View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/common/extensions/features/base_feature_provider.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_context.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_context.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/extension_api.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/extension_api.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M extensions/common/extension_api_stub.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/features/feature_provider.h View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jeffrey Yasskin
7 years ago (2013-12-18 01:30:51 UTC) #1
not at google - send to devlin
lgtm. you wil need to update extension_api_stub.cc to make android link. https://codereview.chromium.org/109683007/diff/100001/chrome/common/extensions/api/extension_api_unittest.cc File chrome/common/extensions/api/extension_api_unittest.cc (left): ...
7 years ago (2013-12-18 01:55:14 UTC) #2
Jeffrey Yasskin
https://codereview.chromium.org/109683007/diff/100001/chrome/common/extensions/api/extension_api_unittest.cc File chrome/common/extensions/api/extension_api_unittest.cc (left): https://codereview.chromium.org/109683007/diff/100001/chrome/common/extensions/api/extension_api_unittest.cc#oldcode396 chrome/common/extensions/api/extension_api_unittest.cc:396: "runtime.getBackgroundPage", On 2013/12/18 01:55:14, kalman wrote: > what happened ...
7 years ago (2013-12-18 02:14:59 UTC) #3
not at google - send to devlin
lgtm https://codereview.chromium.org/109683007/diff/100001/chrome/common/extensions/api/extension_api_unittest.cc File chrome/common/extensions/api/extension_api_unittest.cc (left): https://codereview.chromium.org/109683007/diff/100001/chrome/common/extensions/api/extension_api_unittest.cc#oldcode396 chrome/common/extensions/api/extension_api_unittest.cc:396: "runtime.getBackgroundPage", On 2013/12/18 02:14:59, Jeffrey Yasskin wrote: > ...
7 years ago (2013-12-18 02:18:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/109683007/110001
7 years ago (2013-12-18 02:18:58 UTC) #5
commit-bot: I haz the power
7 years ago (2013-12-18 04:53:51 UTC) #6
Message was sent while issue was closed.
Change committed as 241490

Powered by Google App Engine
This is Rietveld 408576698