Index: chrome/common/extensions/docs/server2/file_system.py |
diff --git a/chrome/common/extensions/docs/server2/file_system.py b/chrome/common/extensions/docs/server2/file_system.py |
index 540abe8fe606705f7f698b3420993752aec35ac4..cbc19b3155f79f07ba2779b27a8f225d5162d39e 100644 |
--- a/chrome/common/extensions/docs/server2/file_system.py |
+++ b/chrome/common/extensions/docs/server2/file_system.py |
@@ -15,9 +15,7 @@ class StatInfo(object): |
self.version = version |
self.child_versions = child_versions |
-def _ProcessFileData(data, path): |
- if os.path.splitext(path)[-1] not in ['.js', '.html', '.json']: |
not at google - send to devlin
2013/02/13 17:12:55
IIRC this check was so that we didn't try to unico
|
- return data |
+def _ToUnicode(data): |
try: |
return unicode(data, 'utf-8') |
except: |