OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:server_instance
(Results
1 - 25
of
35
) sorted by null
1
2
/external/chromium_org/chrome/common/extensions/docs/server2/
strings_data_source.py
15
def __init__(self,
server_instance
, _):
16
self._cache =
server_instance
.compiled_fs_factory.ForJson(
17
server_instance
.host_file_system_provider.GetMaster())
whats_new_data_source_test.py
12
from
server_instance
import ServerInstance
20
server_instance
= ServerInstance.ForTest(
23
whats_new_data_source = WhatsNewDataSource(
server_instance
, None)
data_source_registry.py
43
def CreateDataSource(name,
server_instance
, request=None):
46
return _all_data_sources[name](
server_instance
, request)
49
def CreateDataSources(
server_instance
, request=None):
51
initialized with |
server_instance
| and |request|. If the DataSources are
57
return dict((name, cls(
server_instance
, request))
local_renderer.py
6
from
server_instance
import ServerInstance
template_data_source.py
21
def __init__(self,
server_instance
, request=None):
25
self._template_cache =
server_instance
.compiled_fs_factory.ForTemplates(
26
server_instance
.host_file_system_provider.GetMaster())
27
self._file_system =
server_instance
.host_file_system_provider.GetMaster()
api_data_source_test.py
11
from
server_instance
import ServerInstance
18
self.
server_instance
= ServerInstance.ForTest(
22
api_ds = APIDataSource(self.
server_instance
, Request.ForTest('/'))
owners_data_source_test.py
9
from
server_instance
import ServerInstance
61
server_instance
= ServerInstance.ForTest(
64
self._owners_ds = OwnersDataSource(
server_instance
,
platform_bundle_test.py
11
from
server_instance
import ServerInstance
54
server_instance
= ServerInstance.ForTest(file_system=mock_file_system)
55
self._platform_bundle =
server_instance
.platform_bundle
samples_model_test.py
10
from
server_instance
import ServerInstance
33
server_instance
= ServerInstance.ForTest(file_system=TestFileSystem({}))
34
self._samples_model =
server_instance
.platform_bundle.GetSamplesModel(
template_data_source_test.py
10
from
server_instance
import ServerInstance
32
def __init__(self,
server_instance
, base_dir):
34
TemplateDataSource.__init__(self,
server_instance
)
permissions_data_source.py
47
def __init__(self,
server_instance
, request):
48
self._platform_bundle =
server_instance
.platform_bundle
49
self._object_store =
server_instance
.object_store_creator.Create(
51
self._template_cache =
server_instance
.compiled_fs_factory.ForTemplates(
52
server_instance
.host_file_system_provider.GetMaster())
cron_servlet.py
20
from
server_instance
import ServerInstance
85
server_instance
= self._GetSafeServerInstance()
86
master_fs =
server_instance
.host_file_system_provider.GetMaster()
92
render_refresher = RenderRefresher(
server_instance
, self._request)
105
data_sources = CreateDataSources(
server_instance
)
107
[('content_providers',
server_instance
.content_providers),
108
('platform_bundle',
server_instance
.platform_bundle)])
api_data_source.py
21
def __init__(self,
server_instance
, request):
22
file_system =
server_instance
.host_file_system_provider.GetMaster()
23
self._json_cache =
server_instance
.compiled_fs_factory.ForJson(file_system)
24
self._template_cache =
server_instance
.compiled_fs_factory.ForTemplates(
26
self._platform_bundle =
server_instance
.platform_bundle
27
self._view_cache =
server_instance
.object_store_creator.Create(
render_servlet.py
54
server_instance
= self._delegate.CreateServerInstance()
57
return self._GetSuccessResponse(path,
server_instance
)
69
response = self._GetSuccessResponse(path_404,
server_instance
)
78
def _GetSuccessResponse(self, request_path,
server_instance
):
80
|
server_instance
|. If |path| isn't found then a FileNotFoundError will be
85
server_instance
.content_providers.GetByServeFrom(request_path))
89
server_instance
.compiled_fs_factory,
116
server_instance
.template_renderer.Render(content, self._request))
118
content, doc_warnings =
server_instance
.document_renderer.Render(
jsc_view_test.py
24
from
server_instance
import ServerInstance
71
server_instance
= ServerInstance.ForTest(
73
file_system =
server_instance
.host_file_system_provider.GetMaster()
74
self._json_cache =
server_instance
.compiled_fs_factory.ForJson(file_system)
76
server_instance
.compiled_fs_factory,
77
server_instance
.object_store_creator,
79
self._api_models =
server_instance
.platform_bundle.GetAPIModels(
263
server_instance
= ServerInstance.ForTest(
266
self._api_models =
server_instance
.platform_bundle.GetAPIModels(
268
self._json_cache =
server_instance
.compiled_fs_factory.ForJson
[
all
...]
owners_data_source.py
47
def __init__(self,
server_instance
, _, randomize=True):
48
self._host_fs =
server_instance
.host_file_system_provider.GetMaster()
49
self._cache =
server_instance
.object_store_creator.Create(OwnersDataSource)
50
self._owners_fs =
server_instance
.compiled_fs_factory.Create(
render_refresher.py
26
def __init__(self,
server_instance
):
27
self._server_instance =
server_instance
68
def __init__(self,
server_instance
, request):
69
self._server_instance =
server_instance
sidenav_data_source.py
60
def __init__(self,
server_instance
, request):
61
self._cache =
server_instance
.compiled_fs_factory.Create(
62
server_instance
.host_file_system_provider.GetMaster(),
65
self._server_instance =
server_instance
template_renderer_test.py
8
from
server_instance
import ServerInstance
refresh_servlet.py
20
from
server_instance
import ServerInstance
88
server_instance
= self._CreateServerInstance(commit)
92
data_source =
server_instance
.platform_bundle
94
data_source =
server_instance
.content_providers
96
data_source = CreateDataSource(source_name,
server_instance
)
whats_new_data_source.py
19
def __init__(self,
server_instance
, _):
20
self._parse_cache =
server_instance
.compiled_fs_factory.ForJson(
21
server_instance
.host_file_system_provider.GetMaster())
22
self._object_store =
server_instance
.object_store_creator.Create(
24
self._platform_bundle =
server_instance
.platform_bundle
api_list_data_source_test.py
12
from
server_instance
import ServerInstance
141
server_instance
= ServerInstance.ForTest(
145
self._api_list = APIListDataSource(
server_instance
, None)
sidenav_data_source_test.py
12
from
server_instance
import ServerInstance
90
server_instance
= ServerInstance.ForTest(file_system,
92
sidenav_data_source = SidenavDataSource(
server_instance
,
data_source.py
19
def __init__(self,
server_instance
, request):
patch_servlet.py
19
from
server_instance
import ServerInstance
61
server_instance
= ServerInstance(
74
server_instance
.content_providers.Refresh().Get()
76
return
server_instance
Completed in 664 milliseconds
1
2