OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:content_and_type
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/chrome/common/extensions/docs/server2/
content_provider_test.py
94
def _assertContent(self, content, content_type,
content_and_type
):
96
self.assertEqual(type(content), type(
content_and_type
.content))
97
self.assertEqual(content,
content_and_type
.content)
98
self.assertEqual(content_type,
content_and_type
.content_type)
101
content_and_type
= self._content_provider.GetContentAndType(path).Get()
102
self.assertEqual(Motemplate, type(
content_and_type
.content))
103
content_and_type
.content =
content_and_type
.content.source
104
self._assertContent(content, 'text/html',
content_and_type
)
108
content_and_type
= self._content_provider.GetContentAndType(path).Get(
[
all
...]
render_servlet.py
109
content_and_type
= content_provider.GetContentAndType(path).Get()
110
if not
content_and_type
.content:
113
content =
content_and_type
.content
128
elif
content_and_type
.version is not None:
131
etag = '"%s"' % hashlib.md5(str(
content_and_type
.version)).hexdigest()
137
content_type =
content_and_type
.content_type
Completed in 38 milliseconds