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

Issue 10391034: Scaffolding for an experimental discovery API letting users inject links in the recommended pane of… (Closed)

Created:
8 years, 7 months ago by beaudoin
Modified:
8 years, 7 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Scaffolding for an experimental discovery API letting users inject links in the recommended pane of the New Tab Page. Documentation changes can be seen at: http://www.corp.google.com/~beaudoin/no_crawl/docs/experimental.discovery.html The following files don't have to be reviewed as they are generated by build.py: chrome/common/extensions/docs/experimental.discovery.html chrome/common/extensions/docs/experimental.html chrome/common/extensions/docs/samples.json BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137735

Patch Set 1 : #

Patch Set 2 : Synced #

Total comments: 19

Patch Set 3 : Now using IDL and a ProfileKeyedService. #

Total comments: 36

Patch Set 4 : Answered review comments from PatchSet 3. #

Total comments: 8

Patch Set 5 : Answered review comments from PatchSet 4. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+800 lines, -135 lines) Patch
A chrome/browser/extensions/api/README.txt View 1 2 3 4 1 chunk +100 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/app/app_api.cc View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/extensions/api/discovery/discovery_api.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/discovery/discovery_api.cc View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/discovery/suggested_link.h View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/discovery/suggested_link.cc View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/discovery/suggested_links_registry.h View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/discovery/suggested_links_registry.cc View 1 2 3 1 chunk +64 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/discovery/suggested_links_registry_factory.h View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/discovery/suggested_links_registry_factory.cc View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_notification_manager.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/api/experimental_discovery.idl View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/experimental.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/common/extensions/docs/experimental.discovery.html View 1 2 3 4 2 chunks +259 lines, -134 lines 0 comments Download
M chrome/common/extensions/docs/js/api_page_generator.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/samples.json View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/static/experimental.discovery.html View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
beaudoin
Hi Aaron, Following the email and the proposal for a discovery API. Comments welcome on ...
8 years, 7 months ago (2012-05-10 14:51:28 UTC) #1
Aaron Boodman
http://codereview.chromium.org/10391034/diff/48/chrome/browser/extensions/api/discovery/discovery_api.cc File chrome/browser/extensions/api/discovery/discovery_api.cc (right): http://codereview.chromium.org/10391034/diff/48/chrome/browser/extensions/api/discovery/discovery_api.cc#newcode28 chrome/browser/extensions/api/discovery/discovery_api.cc:28: EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details)); Use JSONSchemaCompiler to parse arguments. See alarms ...
8 years, 7 months ago (2012-05-11 21:06:46 UTC) #2
beaudoin
Some answers to the comments, for discussion. http://codereview.chromium.org/10391034/diff/48/chrome/browser/extensions/api/discovery/discovery_api.cc File chrome/browser/extensions/api/discovery/discovery_api.cc (right): http://codereview.chromium.org/10391034/diff/48/chrome/browser/extensions/api/discovery/discovery_api.cc#newcode45 chrome/browser/extensions/api/discovery/discovery_api.cc:45: manager->Add(extension_id(), new ...
8 years, 7 months ago (2012-05-12 03:16:29 UTC) #3
Aaron Boodman
On 2012/05/12 03:16:29, beaudoin wrote: > Some answers to the comments, for discussion. > > ...
8 years, 7 months ago (2012-05-12 05:00:09 UTC) #4
beaudoin
Thanks for the initial review Aaron. I made most of the changes, the only thing ...
8 years, 7 months ago (2012-05-14 23:28:02 UTC) #5
Aaron Boodman
+yoz for PKS goop http://codereview.chromium.org/10391034/diff/14001/chrome/browser/extensions/api/README.txt File chrome/browser/extensions/api/README.txt (right): http://codereview.chromium.org/10391034/diff/14001/chrome/browser/extensions/api/README.txt#newcode13 chrome/browser/extensions/api/README.txt:13: 1) Write your API specification. ...
8 years, 7 months ago (2012-05-15 00:07:43 UTC) #6
Yoyo Zhou
PKS LGTM, except that you should add this factory to the list in profile_dependency_manager.cc in ...
8 years, 7 months ago (2012-05-15 00:38:04 UTC) #7
beaudoin
Answered all the comments save for the ones about test. I'll get working on tests ...
8 years, 7 months ago (2012-05-16 16:56:16 UTC) #8
beaudoin
(Spotted a problem in PatchSet 4, re-sending.)
8 years, 7 months ago (2012-05-16 17:01:48 UTC) #9
Aaron Boodman
http://codereview.chromium.org/10391034/diff/14001/chrome/browser/extensions/api/discovery/extension_suggested_links_manager.h File chrome/browser/extensions/api/discovery/extension_suggested_links_manager.h (right): http://codereview.chromium.org/10391034/diff/14001/chrome/browser/extensions/api/discovery/extension_suggested_links_manager.h#newcode23 chrome/browser/extensions/api/discovery/extension_suggested_links_manager.h:23: void Add(const std::string& extension_id, ExtensionSuggestedLink* item); On 2012/05/16 16:56:16, ...
8 years, 7 months ago (2012-05-17 00:05:29 UTC) #10
Aaron Boodman
LGTM (you don't need to wait for another LG from me before committing, but please ...
8 years, 7 months ago (2012-05-17 00:33:25 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/10391034/10004
8 years, 7 months ago (2012-05-17 19:00:40 UTC) #12
commit-bot: I haz the power
Presubmit check for 10391034-10004 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-17 19:01:01 UTC) #13
Miranda Callahan
On 2012/05/17 19:01:01, I haz the power (commit-bot) wrote: > Presubmit check for 10391034-10004 failed ...
8 years, 7 months ago (2012-05-17 19:10:45 UTC) #14
beaudoin
http://codereview.chromium.org/10391034/diff/10003/chrome/browser/extensions/api/README.txt File chrome/browser/extensions/api/README.txt (right): http://codereview.chromium.org/10391034/diff/10003/chrome/browser/extensions/api/README.txt#newcode9 chrome/browser/extensions/api/README.txt:9: Discuss with a member of the extensions team (aa@chromium.org) ...
8 years, 7 months ago (2012-05-17 19:11:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/10391034/10004
8 years, 7 months ago (2012-05-17 19:11:52 UTC) #16
commit-bot: I haz the power
8 years, 7 months ago (2012-05-17 21:13:01 UTC) #17
Change committed as 137735

Powered by Google App Engine
This is Rietveld 408576698