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

Issue 10827063: Extensions Docs Server: Pull info from _permission_features.json (Closed)

Created:
8 years, 5 months ago by cduvall
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, clintstaley
Visibility:
Public.

Description

Extensions Docs Server: Pull info from _permission_features.json APIDataSource now pulls info from _permission_features.json and displays it in the 'Permissions' section. BUG=131095 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149000

Patch Set 1 #

Total comments: 10

Patch Set 2 : fixes #

Total comments: 8

Patch Set 3 : clean up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M chrome/common/extensions/docs/server2/api_data_source.py View 1 2 3 chunks +27 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_data_source_test.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/templates/private/standard_api.html View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
cduvall
I'm not sure how you wanted this info to be displayed, so I just put ...
8 years, 5 months ago (2012-07-27 00:49:14 UTC) #1
not at google - send to devlin
http://codereview.chromium.org/10827063/diff/1/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): http://codereview.chromium.org/10827063/diff/1/chrome/common/extensions/docs/server2/api_data_source.py#newcode35 chrome/common/extensions/docs/server2/api_data_source.py:35: def _GetChannel(self, path): This is getting the Feature, not ...
8 years, 4 months ago (2012-07-30 12:43:23 UTC) #2
cduvall
http://codereview.chromium.org/10827063/diff/1/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): http://codereview.chromium.org/10827063/diff/1/chrome/common/extensions/docs/server2/api_data_source.py#newcode35 chrome/common/extensions/docs/server2/api_data_source.py:35: def _GetChannel(self, path): On 2012/07/30 12:43:23, kalman wrote: > ...
8 years, 4 months ago (2012-07-30 19:08:29 UTC) #3
not at google - send to devlin
lgtm http://codereview.chromium.org/10827063/diff/9001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): http://codereview.chromium.org/10827063/diff/9001/chrome/common/extensions/docs/server2/api_data_source.py#newcode39 chrome/common/extensions/docs/server2/api_data_source.py:39: path = path.replace('experimental_', '') why delete the "experimental" ...
8 years, 4 months ago (2012-07-30 19:24:33 UTC) #4
cduvall
8 years, 4 months ago (2012-07-30 19:37:37 UTC) #5
http://codereview.chromium.org/10827063/diff/9001/chrome/common/extensions/do...
File chrome/common/extensions/docs/server2/api_data_source.py (right):

http://codereview.chromium.org/10827063/diff/9001/chrome/common/extensions/do...
chrome/common/extensions/docs/server2/api_data_source.py:39: path =
path.replace('experimental_', '')
On 2012/07/30 19:24:33, kalman wrote:
> why delete the "experimental" references? add comment to explain?

Done.

http://codereview.chromium.org/10827063/diff/9001/chrome/common/extensions/do...
File chrome/common/extensions/docs/server2/templates/private/standard_api.html
(right):

http://codereview.chromium.org/10827063/diff/9001/chrome/common/extensions/do...
chrome/common/extensions/docs/server2/templates/private/standard_api.html:15:
{{?api.permissions.dev}}
On 2012/07/30 19:24:33, kalman wrote:
> should probably go above the table of contents, since it's not really part of
> the contents.

Done.

http://codereview.chromium.org/10827063/diff/9001/chrome/common/extensions/do...
chrome/common/extensions/docs/server2/templates/private/standard_api.html:18:
the stable channel. -->
On 2012/07/30 19:24:33, kalman wrote:
> comment seems unnecessary

Done.

http://codereview.chromium.org/10827063/diff/9001/chrome/common/extensions/do...
chrome/common/extensions/docs/server2/templates/private/standard_api.html:25: <a
href="TODO">Learn more</a>.
On 2012/07/30 19:24:33, kalman wrote:
> strange TODO. I'd delete.

Done.

Powered by Google App Engine
This is Rietveld 408576698