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

Unified Diff: chrome/common/extensions/docs/server2/handler.py

Issue 15087006: Docserver: there is only one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better redirects Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/handler.py
diff --git a/chrome/common/extensions/docs/server2/handler.py b/chrome/common/extensions/docs/server2/handler.py
index 2156c1630a07121066a0580512811318c05d2517..e3c93328c14f8971a8a70a3a17f68c7cda3cea43 100644
--- a/chrome/common/extensions/docs/server2/handler.py
+++ b/chrome/common/extensions/docs/server2/handler.py
@@ -63,6 +63,7 @@ class Handler(Servlet):
new_path = path.split('/')
if len(new_path) > 0 and new_path[0] == 'chrome':
new_path.pop(0)
+ # We don't do multi channel anymore, but leave this code around for legacy.
for channel in BranchUtility.GetAllChannelNames():
if channel in new_path:
position = new_path.index(channel)

Powered by Google App Engine
This is Rietveld 408576698