Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Issue 293943002: Clean up TestFeaturesNativeHandler to use the ExtensionsClient's JSON feature sources. (Closed)

Created:
6 years, 7 months ago by Yoyo Zhou
Modified:
6 years, 7 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, tfarina, browser-components-watch_chromium.org, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Clean up TestFeaturesNativeHandler to use the ExtensionsClient's JSON feature sources. This makes TestFeaturesNativeHandler less Chrome-specific. Also add more const to FeatureProvider. Remove common_resources.h from extensions DEPS. BUG=368334 [email protected] Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272097

Patch Set 1 #

Total comments: 6

Patch Set 2 : comment #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -59 lines) Patch
M apps/shell/common/shell_extensions_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M apps/shell/common/shell_extensions_client.cc View 2 chunks +30 lines, -12 lines 0 comments Download
M chrome/browser/bookmarks/enhanced_bookmarks_features.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/extensions/application_launch.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/chrome_extensions_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/chrome_extensions_client.cc View 2 chunks +32 lines, -14 lines 0 comments Download
M extensions/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/common/extension_api.h View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/extension_api.cc View 2 chunks +1 line, -2 lines 0 comments Download
M extensions/common/extensions_client.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M extensions/common/features/base_feature_provider_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M extensions/common/features/feature_provider.h View 1 chunk +4 lines, -4 lines 0 comments Download
M extensions/common/features/feature_provider.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M extensions/common/manifest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/permissions/permissions_data.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/api_definitions_natives.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/dispatcher.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M extensions/renderer/test_features_native_handler.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M extensions/test/test_extensions_client.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/test/test_extensions_client.cc View 1 2 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Yoyo Zhou
https://codereview.chromium.org/293943002/diff/1/extensions/test/test_extensions_client.h File extensions/test/test_extensions_client.h (left): https://codereview.chromium.org/293943002/diff/1/extensions/test/test_extensions_client.h#oldcode20 extensions/test/test_extensions_client.h:20: virtual const PermissionsProvider& GetPermissionsProvider() const OVERRIDE; This was missed ...
6 years, 7 months ago (2014-05-20 01:49:34 UTC) #1
James Cook
LGTM with a nit on a comment https://codereview.chromium.org/293943002/diff/1/chrome/common/extensions/chrome_extensions_client.cc File chrome/common/extensions/chrome_extensions_client.cc (right): https://codereview.chromium.org/293943002/diff/1/chrome/common/extensions/chrome_extensions_client.cc#newcode122 chrome/common/extensions/chrome_extensions_client.cc:122: ChromeExtensionsClient::CreateFeatureProviderSource( btw, ...
6 years, 7 months ago (2014-05-20 18:15:47 UTC) #2
Yoyo Zhou
https://codereview.chromium.org/293943002/diff/1/extensions/common/extensions_client.h File extensions/common/extensions_client.h (right): https://codereview.chromium.org/293943002/diff/1/extensions/common/extensions_client.h#newcode53 extensions/common/extensions_client.h:53: // e.g. "permission". (There are currently no other sources ...
6 years, 7 months ago (2014-05-21 01:05:47 UTC) #3
Yoyo Zhou
The CQ bit was checked by [email protected]
6 years, 7 months ago (2014-05-21 01:05:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/293943002/20001
6 years, 7 months ago (2014-05-21 01:07:45 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-21 09:14:05 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 7 months ago (2014-05-21 09:17:18 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/68881)
6 years, 7 months ago (2014-05-21 09:17:18 UTC) #8
Yoyo Zhou
TBR sky for OWNERS for a couple of refactoring changes
6 years, 7 months ago (2014-05-21 20:52:41 UTC) #9
Yoyo Zhou
The CQ bit was checked by [email protected]
6 years, 7 months ago (2014-05-21 20:52:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/293943002/40001
6 years, 7 months ago (2014-05-21 20:55:48 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 04:27:43 UTC) #12
Message was sent while issue was closed.
Change committed as 272097

Powered by Google App Engine
This is Rietveld 408576698