Home
last modified time | relevance | path

Searched refs:URLLoader (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/ppapi/cpp/
Durl_loader.cc27 URLLoader::URLLoader(PP_Resource resource) : Resource(resource) { in URLLoader() function in pp::URLLoader
30 URLLoader::URLLoader(const InstanceHandle& instance) { in URLLoader() function in pp::URLLoader
37 URLLoader::URLLoader(const URLLoader& other) : Resource(other) { in URLLoader() function in pp::URLLoader
40 int32_t URLLoader::Open(const URLRequestInfo& request_info, in Open()
49 int32_t URLLoader::FollowRedirect(const CompletionCallback& cc) { in FollowRedirect()
56 bool URLLoader::GetUploadProgress(int64_t* bytes_sent, in GetUploadProgress()
64 bool URLLoader::GetDownloadProgress( in GetDownloadProgress()
73 URLResponseInfo URLLoader::GetResponseInfo() const { in GetResponseInfo()
81 int32_t URLLoader::ReadResponseBody(void* buffer, in ReadResponseBody()
90 int32_t URLLoader::FinishStreamingToFile(const CompletionCallback& cc) { in FinishStreamingToFile()
[all …]
Durl_loader.h23 class URLLoader : public Resource {
27 URLLoader() {} in URLLoader() function
34 explicit URLLoader(PP_Resource resource);
41 explicit URLLoader(const InstanceHandle& instance);
46 URLLoader(const URLLoader& other);
Dinstance.h36 class URLLoader; variable
239 virtual bool HandleDocumentLoad(const URLLoader& url_loader);
Dinstance.cc70 bool Instance::HandleDocumentLoad(const URLLoader& /*url_loader*/) { in HandleDocumentLoad() argument
Dmodule.cc121 return PP_FromBool(instance->HandleDocumentLoad(URLLoader(pp_url_loader))); in Instance_HandleDocumentLoad()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DControlTest.java396 ClassLoader URLLoader = ResourceBundleTest.getURLClassLoader(); in newBundleTester() local
399 final URL srcFile = URLLoader.getResource(control in newBundleTester()
415 assertNull(control.newBundle(className, frFR, CLASS, URLLoader, false)); in newBundleTester()
425 if (null != URLLoader in newBundleTester()
427 ResourceBundle.clearCache(URLLoader); in newBundleTester()
429 PROPERTIES, URLLoader, false); in newBundleTester()
436 PROPERTIES, URLLoader, false); in newBundleTester()
439 PROPERTIES, URLLoader, true); in newBundleTester()
448 URLLoader, true); in newBundleTester()
455 bundle = control.newBundle(propertiesName, frFR, PROPERTIES, URLLoader, in newBundleTester()
[all …]
/external/chromium_org/ppapi/api/
Dppb_url_loader.idl21 * -# Call Create() to create a URLLoader object.
38 * Create() creates a new <code>URLLoader</code> object. The
39 * <code>URLLoader</code> is associated with a particular instance, so that
46 * @return A <code>PP_Resource</code> corresponding to a URLLoader if
53 * IsURLLoader() determines if a resource is an <code>URLLoader</code>.
56 * <code>URLLoader</code>.
58 * @return <code>PP_TRUE</code> if the resource is a <code>URLLoader</code>,
60 * than <code>URLLoader</code>.
71 * <code>URLLoader</code>.
91 * <code>URLLoader</code>.
[all …]
Dppb_url_response_info.idl119 * remains valid until the <code>URLLoader</code> associated with this
127 * not requested or if the <code>URLLoader</code> has not been opened yet.
Dpp_completion_callback.idl246 * reading data from an URLLoader, one would typically queue up another read
/external/chromium_org/ppapi/examples/url_loader/
Dstream_to_file.cc67 pp::URLLoader loader_;
93 loader_ = pp::URLLoader(this); in StartRequest()
141 loader_ = pp::URLLoader(); in OnReadComplete()
Dstreaming.cc64 pp::URLLoader loader_;
87 loader_ = pp::URLLoader(this); in StartRequest()
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Durl-loading.rst15 This chapter describes how to use the `URLLoader API
31 Contains ``URLLoader`` class for loading data from URLs
67 being retrieved using the ``URLLoader`` API.
80 Like many Pepper APIs, the ``URLLoader`` API includes a set of methods that
83 Note that methods in the namespace ``pp::URLLoader`` are part of the Pepper
84 ``URLLoader`` API, while the rest of the functions are part of the code in the
92 #. The Native Client module calls ``pp::URLLoader::Open`` to begin opening the
97 ``URLLoader::ReadResponseBody`` to begin reading the response body with the
195 ReportResultAndDie(url_, "pp::URLLoader::Open() failed", false);
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
Dps_interface.cc28 DEFINE_INTERFACE_FUNC(URLLoader) in DEFINE_INTERFACE_FUNC()
57 REQUEST_INTERFACE(URLLoader, URLLOADER)
/external/chromium_org/ppapi/tests/
Dtest_url_loader.cc28 REGISTER_TEST_CASE(URLLoader);
173 std::string TestURLLoader::ReadEntireResponseBody(pp::URLLoader* loader, in ReadEntireResponseBody()
196 pp::URLLoader loader(instance_); in LoadAndCompareBody()
326 pp::URLLoader loader(instance_); in Open()
453 pp::URLLoader loader(instance_); in TestStreamToFile()
722 pp::URLLoader loader(instance_); in TestAuditURLRedirect()
760 rv = pp::URLLoader(instance_).Open(request, callback.GetCallback()); in TestAbortCalls()
769 pp::URLLoader loader(instance_); in TestAbortCalls()
798 pp::URLLoader loader(instance_); in TestUntendedLoad()
Dtest_url_loader.h18 class URLLoader; variable
32 std::string ReadEntireResponseBody(pp::URLLoader* loader,
Dtest_file_ref.cc60 pp::URLLoader loader(instance_); in MakeExternalFileRef()
202 pp::URLLoader loader(instance_); in TestGetName()
236 pp::URLLoader loader(instance_); in TestGetPath()
277 pp::URLLoader loader(instance_); in TestGetParent()
/external/chromium_org/ppapi/api/trusted/
Dppb_url_loader_trusted.idl16 * given URLLoader resource.
29 * Grant this URLLoader the capability to make unrestricted cross-origin
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dplugin.h42 class URLLoader; variable
70 virtual bool HandleDocumentLoad(const pp::URLLoader& url_loader);
430 pp::URLLoader document_load_to_replay_;
Dfile_downloader.h192 pp::URLLoader url_loader_;
Dfile_downloader.cc122 url_loader_ = pp::URLLoader(instance_); in Open()
Dplugin.cc728 bool Plugin::HandleDocumentLoad(const pp::URLLoader& url_loader) { in HandleDocumentLoad()
/external/chromium_org/native_client_sdk/src/examples/api/url_loader/
Durl_loader_handler.h79 pp::URLLoader url_loader_; // URLLoader provides an API to download URLs.
/external/chromium_org/remoting/client/plugin/
Dpepper_port_allocator.cc63 scoped_ptr<pp::URLLoader> relay_url_loader_;
209 relay_url_loader_.reset(new pp::URLLoader(instance_)); in SendSessionRequest()
/external/chromium_org/chrome/test/ppapi/
Dppapi_browsertest.cc491 #define MAYBE_PPAPIURLLoader URLLoader in TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP()
527 #define MAYBE_OutOfProcessURLLoader URLLoader
558 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, URLLoader) { in IN_PROC_BROWSER_TEST_F() argument
592 #define MAYBE_NaCl_Glibc_URLLoader URLLoader
624 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, URLLoader) { in IN_PROC_BROWSER_TEST_F() argument
/external/chromium_org/native_client_sdk/src/examples/demo/drive/
Ddrive.cc105 pp::URLLoader url_loader(instance); in ReadUrl()