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

Issue 54603010: Docserver: Implement the content providers infrastructure, where a (Closed)

Created:
7 years, 1 month ago by not at google - send to devlin
Modified:
7 years, 1 month ago
Reviewers:
Jeffrey Yasskin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Docserver: Implement the content providers infrastructure, where a configuration file (content_providers.json) specifies arbitrary places to fetch content from. As a first pass only the Chromium repository is supported, and our existing 3 content providers (public, exampes, and static) have been moved over to use it. In a follow-up GitHub will be supported as a content provider along with a number of other features to content_providers.json so that we're able to host the rest of Chrome's documentation, in theory. BUG=293678 R=jyasskin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232868

Patch Set 1 #

Total comments: 26

Patch Set 2 : jeffrey #

Total comments: 2

Patch Set 3 : renames #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+670 lines, -138 lines) Patch
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/server2/content_provider.py View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/content_provider_test.py View 1 2 1 chunk +134 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/content_providers.py View 1 2 1 chunk +92 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/content_providers_test.py View 1 2 1 chunk +132 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron_servlet.py View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron_servlet_test.py View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/redirector.py View 4 chunks +5 lines, -7 lines 0 comments Download
M chrome/common/extensions/docs/server2/redirector_test.py View 4 chunks +23 lines, -26 lines 0 comments Download
M chrome/common/extensions/docs/server2/render_servlet.py View 1 2 2 chunks +64 lines, -75 lines 0 comments Download
M chrome/common/extensions/docs/server2/render_servlet_test.py View 3 chunks +58 lines, -16 lines 0 comments Download
M chrome/common/extensions/docs/server2/server_instance.py View 1 2 3 4 3 chunks +3 lines, -9 lines 0 comments Download
M chrome/common/extensions/docs/server2/servlet.py View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/json/content_providers.json View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A + chrome/common/extensions/docs/templates/public/404.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/templates/public/redirects.json View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
not at google - send to devlin
https://codereview.chromium.org/54603010/diff/1/chrome/common/extensions/docs/server2/render_servlet.py File chrome/common/extensions/docs/server2/render_servlet.py (right): https://codereview.chromium.org/54603010/diff/1/chrome/common/extensions/docs/server2/render_servlet.py#newcode8 chrome/common/extensions/docs/server2/render_servlet.py:8: import posixpath You may want to review this file ...
7 years, 1 month ago (2013-11-01 20:45:18 UTC) #1
Jeffrey Yasskin
https://codereview.chromium.org/54603010/diff/1/chrome/common/extensions/docs/server2/content_provider.py File chrome/common/extensions/docs/server2/content_provider.py (right): https://codereview.chromium.org/54603010/diff/1/chrome/common/extensions/docs/server2/content_provider.py#newcode17 chrome/common/extensions/docs/server2/content_provider.py:17: class ContentInfo(object): "TypedContent"? This isn't "Info" because it also ...
7 years, 1 month ago (2013-11-04 21:21:18 UTC) #2
not at google - send to devlin
Long comment added to content_providers.json. I also removed the "default" stuff since it wasn't used ...
7 years, 1 month ago (2013-11-04 23:34:49 UTC) #3
Jeffrey Yasskin
lgtm https://codereview.chromium.org/54603010/diff/1/chrome/common/extensions/docs/server2/content_provider.py File chrome/common/extensions/docs/server2/content_provider.py (right): https://codereview.chromium.org/54603010/diff/1/chrome/common/extensions/docs/server2/content_provider.py#newcode17 chrome/common/extensions/docs/server2/content_provider.py:17: class ContentInfo(object): On 2013/11/04 23:34:49, kalman wrote: > ...
7 years, 1 month ago (2013-11-04 23:45:20 UTC) #4
not at google - send to devlin
7 years, 1 month ago (2013-11-05 01:05:41 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 manually as r232868.

Powered by Google App Engine
This is Rietveld 408576698