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

Issue 18323018: Linking AvailabilityFinder with APIDataSource and intro-table templates. (Closed)

Created:
7 years, 5 months ago by epeterson
Modified:
7 years, 5 months ago
Reviewers:
evan.peterson.ep, not at google - send to devlin
CC:
chromium-reviews, extensions-reviews_chromium.org, vsevik, yurys, paulirish+reviews_chromium.org, chromium-apps-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Linking AvailabilityFinder with APIDataSource and intro-table templates. BUG=233968, 163418 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212595

Patch Set 1 #

Total comments: 44

Patch Set 2 : HostFileSystemCreator, Intro Table data structure changes #

Total comments: 27

Patch Set 3 : More Generic Templates #

Total comments: 30

Patch Set 4 : Figuring out partials #

Total comments: 4

Patch Set 5 : Passing TemplateDataSource to APIDataSource #

Total comments: 7

Patch Set 6 : Replacing 'permissions' template argument #

Total comments: 10

Patch Set 7 : 'development_stage -> channel_warning' #

Patch Set 8 : Rebase with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+911 lines, -936 lines) Patch
M chrome/common/extensions/api/sync_file_system.idl View 1 2 3 4 5 6 7 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_data_source.py View 1 2 3 4 5 6 12 chunks +111 lines, -54 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_data_source_test.py View 1 2 3 4 9 chunks +79 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/availability_finder.py View 1 2 3 6 chunks +23 lines, -15 lines 0 comments Download
M chrome/common/extensions/docs/server2/availability_finder_test.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/cron_servlet_test.py View 1 2 3 2 chunks +11 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/server2/intro_data_source_test.py View 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/common/extensions/docs/server2/server_instance.py View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/template_data_source_test.py View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/test_data/canned_data.py View 1 2 3 6 chunks +19 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/static/css/site.css View 1 2 1 chunk +3 lines, -1 line 0 comments Download
D chrome/common/extensions/docs/templates/intros/alarms.html View 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/app_runtime.html View 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/app_window.html View 1 chunk +0 lines, -26 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/bluetooth.html View 1 chunk +0 lines, -27 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/bookmarks.html View 2 chunks +1 line, -8 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/browserAction.html View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/browsingData.html View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/commands.html View 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/contentSettings.html View 2 chunks +1 line, -9 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/contextMenus.html View 2 chunks +1 line, -25 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/debugger.html View 2 chunks +1 line, -10 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/declarativeContent.html View 1 chunk +0 lines, -29 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html View 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/devtools_network.html View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/devtools_panels.html View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/downloads.html View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/experimental_devtools_audits.html View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/extension.html View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/feedbackPrivate.html View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/fileBrowserHandler.html View 2 chunks +1 line, -8 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/fileSystem.html View 1 2 3 4 5 1 chunk +0 lines, -34 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/fontSettings.html View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/history.html View 2 chunks +1 line, -9 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/i18n.html View 2 chunks +1 line, -10 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/identity.html View 1 chunk +0 lines, -23 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/idle.html View 2 chunks +1 line, -21 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/input_ime.html View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/management.html View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/mediaGalleries.html View 1 chunk +0 lines, -28 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/notifications.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -26 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/omnibox.html View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/pageAction.html View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/pageCapture.html View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/permissions.html View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/power.html View 1 chunk +0 lines, -21 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/privacy.html View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/proxy.html View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/pushMessaging.html View 1 chunk +1 line, -27 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/runtime.html View 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/serial.html View 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/socket.html View 1 chunk +0 lines, -31 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/storage.html View 1 chunk +1 line, -26 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/syncFileSystem.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -32 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/tabs.html View 2 chunks +1 line, -8 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/topSites.html View 2 chunks +1 line, -8 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/tts.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -32 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/ttsEngine.html View 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/types.html View 2 chunks +1 line, -9 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/usb.html View 1 chunk +0 lines, -28 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/webNavigation.html View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/webRequest.html View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/webstore.html View 1 chunk +0 lines, -23 lines 0 comments Download
M chrome/common/extensions/docs/templates/intros/windows.html View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/common/extensions/docs/templates/json/api_availabilities.json View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/json/intro_tables.json View 1 2 3 1 chunk +509 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_table.html View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_tables/beta_message.html View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_tables/dev_message.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_tables/experimental_message.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_tables/see_manifest.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_tables/socket_permissions.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_tables/stable_message.html View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_tables/trunk_message.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/standard_apps_api.html View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/standard_extensions_api.html View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/alarms.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/app_runtime.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/app_window.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/bluetooth.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/fileSystem.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/identity.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/pushMessaging.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/runtime.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/serial.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/socket.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/syncFileSystem.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/usb.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/apps/webstore.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/alarms.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/identity.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/pushMessaging.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/runtime.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/webstore.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
epeterson
Ben, Here is a patch that hooks up AvailabilityFinder with APIDataSource, in addition to actually ...
7 years, 5 months ago (2013-07-03 19:05:01 UTC) #1
not at google - send to devlin
awesome! https://codereview.chromium.org/18323018/diff/1/chrome/common/extensions/api/types.json File chrome/common/extensions/api/types.json (right): https://codereview.chromium.org/18323018/diff/1/chrome/common/extensions/api/types.json#newcode8 chrome/common/extensions/api/types.json:8: "description": "The <code>chrome.types</code> API contains type declarations for ...
7 years, 5 months ago (2013-07-03 19:54:56 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/18323018/diff/1/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/18323018/diff/1/chrome/common/extensions/docs/server2/api_data_source.py#newcode184 chrome/common/extensions/docs/server2/api_data_source.py:184: def _GetMoreLearning(self): Update: this actually needs to be more ...
7 years, 5 months ago (2013-07-08 17:08:02 UTC) #3
epeterson
Afternoon, The patch grew with this upload, and I'm sorry if it's getting a little ...
7 years, 5 months ago (2013-07-09 20:51:17 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/18323018/diff/1/chrome/common/extensions/docs/templates/json/api_availabilities.json File chrome/common/extensions/docs/templates/json/api_availabilities.json (right): https://codereview.chromium.org/18323018/diff/1/chrome/common/extensions/docs/templates/json/api_availabilities.json#newcode17 chrome/common/extensions/docs/templates/json/api_availabilities.json:17: }, > Not sure how to get something accurate ...
7 years, 5 months ago (2013-07-09 21:07:16 UTC) #5
not at google - send to devlin
not a complete set of comments - you're right, the change is getting a bit ...
7 years, 5 months ago (2013-07-09 23:11:55 UTC) #6
epeterson
Good evening Ben, I apologize this is coming in so late today, but I tried ...
7 years, 5 months ago (2013-07-16 00:28:23 UTC) #7
not at google - send to devlin
I'm not sure I got everything, since I've been reviewing this patch for 6 hours ...
7 years, 5 months ago (2013-07-16 22:25:00 UTC) #8
epeterson
Partials are being passed to the templates now. Just about all of the logic for ...
7 years, 5 months ago (2013-07-17 23:48:22 UTC) #9
not at google - send to devlin
lg just those last 2 comments! https://codereview.chromium.org/18323018/diff/80001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/18323018/diff/80001/chrome/common/extensions/docs/server2/api_data_source.py#newcode123 chrome/common/extensions/docs/server2/api_data_source.py:123: self._partial_cache = partial_cache ...
7 years, 5 months ago (2013-07-18 02:20:30 UTC) #10
epeterson
How does this look? https://codereview.chromium.org/18323018/diff/99001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/18323018/diff/99001/chrome/common/extensions/docs/server2/api_data_source.py#newcode203 chrome/common/extensions/docs/server2/api_data_source.py:203: if 'partial' in node and ...
7 years, 5 months ago (2013-07-18 18:17:07 UTC) #11
not at google - send to devlin
https://codereview.chromium.org/18323018/diff/99001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/18323018/diff/99001/chrome/common/extensions/docs/server2/api_data_source.py#newcode203 chrome/common/extensions/docs/server2/api_data_source.py:203: if 'partial' in node and isinstance (node['partial'], basestring): On ...
7 years, 5 months ago (2013-07-18 21:24:15 UTC) #12
epeterson
Ok, here are some quick changes. Let me know what you think. https://codereview.chromium.org/18323018/diff/99001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py ...
7 years, 5 months ago (2013-07-19 00:05:34 UTC) #13
not at google - send to devlin
lgtm https://codereview.chromium.org/18323018/diff/110001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/18323018/diff/110001/chrome/common/extensions/docs/server2/api_data_source.py#newcode207 chrome/common/extensions/docs/server2/api_data_source.py:207: if 'partial' in node and not isinstance (node['partial'], ...
7 years, 5 months ago (2013-07-19 00:18:04 UTC) #14
epeterson
Ok, here's some final small changes. This patch is going to require a lot of ...
7 years, 5 months ago (2013-07-19 00:50:19 UTC) #15
not at google - send to devlin
Yeah I'm going to submit https://codereview.chromium.org/15087006/ after this and we'll never need to merge again!
7 years, 5 months ago (2013-07-19 01:01:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/evan.peterson.EP@gmail.com/18323018/121001
7 years, 5 months ago (2013-07-19 16:14:43 UTC) #17
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/docs/templates/intros/tts.html: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-19 16:15:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/evan.peterson.EP@gmail.com/18323018/127001
7 years, 5 months ago (2013-07-19 16:40:02 UTC) #19
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-19 16:47:33 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/evan.peterson.EP@gmail.com/18323018/127001
7 years, 5 months ago (2013-07-19 16:52:12 UTC) #21
commit-bot: I haz the power
7 years, 5 months ago (2013-07-19 16:55:20 UTC) #22
Message was sent while issue was closed.
Change committed as 212595

Powered by Google App Engine
This is Rietveld 408576698