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

Issue 11724002: Move ContentScripts out of Extension (Closed)

Created:
7 years, 11 months ago by Devlin
Modified:
7 years, 9 months ago
CC:
chromium-reviews, zork+watch_chromium.org, oshima+watch_chromium.org, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, Aaron Boodman, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, chromium-apps-reviews_chromium.org, ctguil+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org, mhx348_motorola.com, SanjoyPal
Base URL:
http://git.chromium.org/chromium/src.git@dc_unref_browser_action
Visibility:
Public.

Description

Move ContentScripts out of Extension TBR=ben@chromium.org (gypis) BUG=159265 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190141

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Yoyo's requests #

Total comments: 1

Patch Set 4 : Latest master #

Patch Set 5 : #

Patch Set 6 : Wider net for registration #

Total comments: 1

Patch Set 7 : Rebase + latest master #

Patch Set 8 : #

Patch Set 9 : Fixed failing tests #

Patch Set 10 : Updated to use new handler registration style #

Patch Set 11 : #

Patch Set 12 : Latest master, latest interfaces #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Total comments: 1

Patch Set 16 : Moved handler out from c/c/e/api #

Patch Set 17 : Moved handler out from c/c/e/api #

Patch Set 18 : Latest master for CQ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+730 lines, -511 lines) Patch
M chrome/browser/chromeos/accessibility/accessibility_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -2 lines 0 comments Download
A chrome/browser/extensions/content_scripts_parser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/extensions/content_scripts_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/extensions/convert_user_script_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 10 chunks +36 lines, -16 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_ui_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/user_script_listener.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/user_script_master.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +6 lines, -24 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +1 line, -298 lines 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +0 lines, -64 lines 0 comments Download
M chrome/common/extensions/extension_file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +32 lines, -6 lines 0 comments Download
A chrome/common/extensions/manifest_handlers/content_scripts_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/common/extensions/manifest_handlers/content_scripts_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +446 lines, -0 lines 0 comments Download
A + chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +23 lines, -9 lines 0 comments Download
A + chrome/common/extensions/manifest_handlers/exclude_matches_manifest_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +16 lines, -3 lines 0 comments Download
D chrome/common/extensions/manifest_tests/extension_manifests_contentscript_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -49 lines 0 comments Download
D chrome/common/extensions/manifest_tests/extension_manifests_excludematches_unittest.cc View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
Devlin
https://codereview.chromium.org/11724002/diff/2001/chrome/common/extensions/api/content_scripts/content_scripts_handler.cc File chrome/common/extensions/api/content_scripts/content_scripts_handler.cc (right): https://codereview.chromium.org/11724002/diff/2001/chrome/common/extensions/api/content_scripts/content_scripts_handler.cc#newcode149 chrome/common/extensions/api/content_scripts/content_scripts_handler.cc:149: extension->set_wants_file_access(true); This is bad. Do we know how we ...
7 years, 11 months ago (2012-12-29 21:18:37 UTC) #1
Devlin
7 years, 11 months ago (2012-12-29 21:18:50 UTC) #2
Yoyo Zhou
It's good to see that this doesn't even require the renderer to know about parsing ...
7 years, 11 months ago (2013-01-04 00:13:30 UTC) #3
Devlin
https://codereview.chromium.org/11724002/diff/2001/chrome/common/extensions/api/content_scripts/content_scripts_handler.cc File chrome/common/extensions/api/content_scripts/content_scripts_handler.cc (right): https://codereview.chromium.org/11724002/diff/2001/chrome/common/extensions/api/content_scripts/content_scripts_handler.cc#newcode149 chrome/common/extensions/api/content_scripts/content_scripts_handler.cc:149: extension->set_wants_file_access(true); On 2013/01/04 00:13:30, Yoyo Zhou wrote: > On ...
7 years, 11 months ago (2013-01-11 20:30:02 UTC) #4
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/11724002/diff/17001/chrome/browser/profiles/profile_dependency_manager.cc File chrome/browser/profiles/profile_dependency_manager.cc (right): https://chromiumcodereview.appspot.com/11724002/diff/17001/chrome/browser/profiles/profile_dependency_manager.cc#newcode266 chrome/browser/profiles/profile_dependency_manager.cc:266: extensions::ProfileKeyedAPIFactory<extensions::ContentScriptsAPI>:: Please rebase to head to get the ...
7 years, 11 months ago (2013-01-11 23:19:44 UTC) #5
Devlin
+ mirandac for c/b/profiles/
7 years, 10 months ago (2013-01-28 19:03:35 UTC) #6
Miranda Callahan
sorry for the delay, I've been OOO. profiles/ lgtm with nit. https://chromiumcodereview.appspot.com/11724002/diff/58001/chrome/browser/profiles/profile_dependency_manager.cc File chrome/browser/profiles/profile_dependency_manager.cc (right): ...
7 years, 10 months ago (2013-02-06 22:10:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/11724002/108001
7 years, 9 months ago (2013-03-20 17:01:33 UTC) #8
not at google - send to devlin
https://chromiumcodereview.appspot.com/11724002/diff/108001/chrome/browser/extensions/api/content_scripts/content_scripts_api.cc File chrome/browser/extensions/api/content_scripts/content_scripts_api.cc (right): https://chromiumcodereview.appspot.com/11724002/diff/108001/chrome/browser/extensions/api/content_scripts/content_scripts_api.cc#newcode5 chrome/browser/extensions/api/content_scripts/content_scripts_api.cc:5: #include "chrome/browser/extensions/api/content_scripts/content_scripts_api.h" There is a (loose) convention at the ...
7 years, 9 months ago (2013-03-20 17:13:38 UTC) #9
Devlin
On 2013/03/20 17:13:38, kalman wrote: > https://chromiumcodereview.appspot.com/11724002/diff/108001/chrome/browser/extensions/api/content_scripts/content_scripts_api.cc > File chrome/browser/extensions/api/content_scripts/content_scripts_api.cc > (right): > > https://chromiumcodereview.appspot.com/11724002/diff/108001/chrome/browser/extensions/api/content_scripts/content_scripts_api.cc#newcode5 ...
7 years, 9 months ago (2013-03-20 17:40:49 UTC) #10
not at google - send to devlin
lgtm (so cq doesn't fail, I hope) yep sounds fine. Yeah, I'd prefer we keep ...
7 years, 9 months ago (2013-03-20 18:07:49 UTC) #11
Yoyo Zhou
On 2013/03/20 18:07:49, kalman wrote: > lgtm (so cq doesn't fail, I hope) > > ...
7 years, 9 months ago (2013-03-20 19:18:29 UTC) #12
not at google - send to devlin
> But I don't think it's important to put all APIs in > c/b/e/api; it's ...
7 years, 9 months ago (2013-03-20 19:31:02 UTC) #13
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
7 years, 9 months ago (2013-03-20 23:54:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/11724002/108001
7 years, 9 months ago (2013-03-21 00:01:33 UTC) #15
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
7 years, 9 months ago (2013-03-21 06:46:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/11724002/138001
7 years, 9 months ago (2013-03-23 18:05:43 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=126725
7 years, 9 months ago (2013-03-23 20:03:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/11724002/134002
7 years, 9 months ago (2013-03-23 21:32:30 UTC) #19
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/accessibility/accessibility_util.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-23 21:32:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/11724002/147003
7 years, 9 months ago (2013-03-23 22:22:14 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/11724002/149050
7 years, 9 months ago (2013-03-23 23:04:46 UTC) #22
commit-bot: I haz the power
7 years, 9 months ago (2013-03-24 01:36:18 UTC) #23
Message was sent while issue was closed.
Change committed as 190141

Powered by Google App Engine
This is Rietveld 408576698