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

Issue 9969136: Reland r130462: Implement FeatureProvider for ExtensionAPI." (Closed)

Created:
8 years, 8 months ago by Aaron Boodman
Modified:
8 years, 8 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, darin-cc_chromium.org, mihaip+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Reland r130462: Implement FeatureProvider for ExtensionAPI." BUG=120069 TBR=mpcomplete@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=130697

Patch Set 1 #

Patch Set 2 : Replace lazy-loading of schemas. I removed this accidentally in my first patch. #

Total comments: 4

Patch Set 3 : mpcomments #

Patch Set 4 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1566 lines, -500 lines) Patch
M chrome/browser/extensions/extension_event_router.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 7 chunks +23 lines, -2 lines 0 comments Download
M chrome/browser/extensions/settings/settings_frontend.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/bookmarks.json View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.h View 6 chunks +82 lines, -20 lines 0 comments Download
M chrome/common/extensions/api/extension_api.cc View 1 2 10 chunks +479 lines, -213 lines 2 comments Download
M chrome/common/extensions/api/extension_api_unittest.cc View 1 2 5 chunks +286 lines, -57 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/common/extensions/feature.h View 3 chunks +39 lines, -36 lines 0 comments Download
M chrome/common/extensions/feature.cc View 8 chunks +66 lines, -30 lines 0 comments Download
A chrome/common/extensions/feature_provider.h View 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/common/extensions/feature_unittest.cc View 1 2 12 chunks +238 lines, -95 lines 0 comments Download
M chrome/common/extensions/manifest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A chrome/common/extensions/manifest_feature.h View 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/common/extensions/manifest_feature.cc View 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/common/extensions/permission_feature.h View 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/common/extensions/permission_feature.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/common/extensions/simple_feature_provider.h View 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/common/extensions/simple_feature_provider.cc View 4 chunks +36 lines, -24 lines 0 comments Download
M chrome/common/extensions/simple_feature_provider_unittest.cc View 2 chunks +72 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/schema_generated_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/v8_schema_registry.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/webstore_private/bundle/extension2.json View 1 chunk +1 line, -6 lines 0 comments Download
A chrome/test/data/extensions/extension_api_unittest/is_privileged_features_1.json View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/extension_api_unittest/is_privileged_features_2.json View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/extension_api_unittest/is_privileged_features_3.json View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/extension_api_unittest/is_privileged_features_4.json View 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/extension_api_unittest/is_privileged_features_5.json View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Aaron Boodman
Matt, the first CL was already reviewed (mostly, I had to make some changes to ...
8 years, 8 months ago (2012-04-04 00:46:45 UTC) #1
Matt Perry
Does this mean that ExtensionAPI will load the full 2-3megs of schema data twice? It ...
8 years, 8 months ago (2012-04-04 16:40:22 UTC) #2
Aaron Boodman
No. The schemas are loaded lazily, and IsPrivileged only loads the ones it needs. http://codereview.chromium.org/9969136/diff/2001/chrome/browser/extensions/extension_function_dispatcher.cc ...
8 years, 8 months ago (2012-04-04 18:05:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aa@chromium.org/9969136/12001
8 years, 8 months ago (2012-04-04 18:33:56 UTC) #4
Matt Perry
http://codereview.chromium.org/9969136/diff/12001/chrome/common/extensions/api/extension_api.cc File chrome/common/extensions/api/extension_api.cc (right): http://codereview.chromium.org/9969136/diff/12001/chrome/common/extensions/api/extension_api.cc#newcode248 chrome/common/extensions/api/extension_api.cc:248: void ExtensionAPI::InitDefaultConfiguration() { This method is called when you ...
8 years, 8 months ago (2012-04-04 18:38:47 UTC) #5
Aaron Boodman
http://codereview.chromium.org/9969136/diff/12001/chrome/common/extensions/api/extension_api.cc File chrome/common/extensions/api/extension_api.cc (right): http://codereview.chromium.org/9969136/diff/12001/chrome/common/extensions/api/extension_api.cc#newcode248 chrome/common/extensions/api/extension_api.cc:248: void ExtensionAPI::InitDefaultConfiguration() { On 2012/04/04 18:38:47, Matt Perry wrote: ...
8 years, 8 months ago (2012-04-04 18:41:27 UTC) #6
Matt Perry
8 years, 8 months ago (2012-04-04 18:45:10 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698