HomeSort by relevance Sort by last modified time
    Searched refs:ResourceLoader (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/chromium_org/content/browser/loader/
resource_loader_delegate.h 17 class ResourceLoader;
22 ResourceLoader* loader,
25 virtual bool AcceptAuthRequest(ResourceLoader* loader,
28 ResourceLoader* loader,
31 virtual bool HandleExternalProtocol(ResourceLoader* loader,
34 virtual void DidStartRequest(ResourceLoader* loader) = 0;
35 virtual void DidReceiveRedirect(ResourceLoader* loader,
37 virtual void DidReceiveResponse(ResourceLoader* loader) = 0;
41 virtual void DidFinishLoading(ResourceLoader* loader) = 0;
resource_loader.cc 68 ResourceLoader::ResourceLoader(scoped_ptr<net::URLRequest> request,
83 ResourceLoader::~ResourceLoader() {
94 void ResourceLoader::StartRequest() {
115 void ResourceLoader::CancelRequest(bool from_renderer) {
119 void ResourceLoader::CancelAndIgnore() {
125 void ResourceLoader::CancelWithError(int error_code) {
129 void ResourceLoader::ReportUploadProgress() {
164 void ResourceLoader::MarkAsTransferring(const GURL& target_url)
    [all...]
resource_loader.h 27 class CONTENT_EXPORT ResourceLoader : public net::URLRequest::Delegate,
31 ResourceLoader(scoped_ptr<net::URLRequest> request,
34 virtual ~ResourceLoader();
143 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_;
145 DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
  /external/chromium_org/third_party/WebKit/Source/core/fetch/
ResourceLoaderSet.h 34 #include "core/fetch/ResourceLoader.h"
41 typedef HashSet<RefPtr<ResourceLoader> > SetType;
43 void add(const RefPtr<ResourceLoader>& loader) { m_set.add(loader); }
44 void remove(const RefPtr<ResourceLoader>& loader) { m_set.remove(loader); }
46 bool contains(const RefPtr<ResourceLoader>& loader) const { return m_set.contains(loader); }
ResourceLoaderHost.h 42 class ResourceLoader;
68 virtual void subresourceLoaderFinishedLoadingOnePart(ResourceLoader*) = 0;
69 virtual void didInitializeResourceLoader(ResourceLoader*) = 0;
70 virtual void willTerminateResourceLoader(ResourceLoader*) = 0;
ResourceLoader.cpp 31 #include "core/fetch/ResourceLoader.h"
51 ResourceLoader::RequestCountTracker::RequestCountTracker(ResourceLoaderHost* host, Resource* resource)
58 ResourceLoader::RequestCountTracker::~RequestCountTracker()
63 PassRefPtr<ResourceLoader> ResourceLoader::create(ResourceLoaderHost* host, Resource* resource, const ResourceRequest& request, const ResourceLoaderOptions& options)
65 RefPtr<ResourceLoader> loader(adoptRef(new ResourceLoader(host, resource, options)));
70 ResourceLoader::ResourceLoader(ResourceLoaderHost* host, Resource* resource, const ResourceLoaderOptions& options)
82 ResourceLoader::~ResourceLoader(
    [all...]
ResourceLoaderSet.cpp 40 Vector<RefPtr<ResourceLoader> > loadersCopy;
49 Vector<RefPtr<ResourceLoader> > loadersCopy;
ResourceLoader.h 47 class ResourceLoader : public RefCounted<ResourceLoader>, protected blink::WebURLLoaderClient {
49 static PassRefPtr<ResourceLoader> create(ResourceLoaderHost*, Resource*, const ResourceRequest&, const ResourceLoaderOptions&);
50 virtual ~ResourceLoader();
88 ResourceLoader(ResourceLoaderHost*, Resource*, const ResourceLoaderOptions&);
FetchContext.h 48 class ResourceLoader;
67 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long identifier, const ResourceResponse&, ResourceLoader* = 0);
  /external/jsilver/src/com/google/clearsilver/jsilver/data/
DataFactory.java 20 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
37 void loadData(final String dataFileName, ResourceLoader resourceLoader, Data output)
43 Data loadData(String dataFileName, ResourceLoader resourceLoader) throws IOException;
Parser.java 19 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
50 * @param resourceLoader ResourceLoader to use to read in included files.
56 void parse(Reader reader, Data output, ErrorHandler errorHandler, ResourceLoader resourceLoader,
HDFDataFactory.java 20 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
52 public void loadData(final String dataFileName, ResourceLoader resourceLoader, Data output)
54 Reader reader = resourceLoader.open(dataFileName);
64 }, resourceLoader, dataFileName, ignoreAttributes);
66 resourceLoader.close(reader);
71 public Data loadData(String dataFileName, ResourceLoader resourceLoader) throws IOException {
73 loadData(dataFileName, resourceLoader, result)
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
CompositeResourceLoader.java 17 package com.google.clearsilver.jsilver.resourceloader;
28 * ResourceLoader composed of other ResourceLoaders. When a resource is loaded, it will search
29 * through each ResourceLoader until it finds something.
31 * @see ResourceLoader
33 public class CompositeResourceLoader implements ResourceLoader {
35 private final List<ResourceLoader> loaders = new ArrayList<ResourceLoader>();
37 public CompositeResourceLoader(Iterable<ResourceLoader> loaders) {
38 for (ResourceLoader loader : loaders) {
43 public CompositeResourceLoader(ResourceLoader... loaders)
    [all...]
BaseResourceLoader.java 17 package com.google.clearsilver.jsilver.resourceloader;
23 * Implementations of ResourceLoader should extend this class rather than directly implement the
24 * ResourceLoader interface - this allows changes to be made to the ResourceLoader interface whilst
27 * @see ResourceLoader
29 public abstract class BaseResourceLoader implements ResourceLoader {
38 * tend to assume they are the only ResourceLoader in use. Or at least that the filename is the
39 * only necessary form of uniqueness between two instances of this same ResourceLoader.
ResourceLoader.java 17 package com.google.clearsilver.jsilver.resourceloader;
30 * made to JSilver that maintain compatibility with existing ResourceLoader implementations.
38 public interface ResourceLoader {
66 * Close the reader. Allows ResourceLoader to perform any additional clean up.
75 * file name in the context of this ResourceLoader. (e.g. ordered list of directories + filename,
90 * If the ResourceLoader does not or cannot compute a version identifier then it is sufficient to
  /external/chromium_org/chrome/installer/test/
resource_loader.h 24 class ResourceLoader {
26 ResourceLoader();
27 ~ResourceLoader();
45 DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
46 }; // class ResourceLoader
resource_loader.cc 52 ResourceLoader::ResourceLoader() : module_(NULL) {
55 ResourceLoader::~ResourceLoader() {
62 bool ResourceLoader::Initialize(const base::FilePath& pe_image_path) {
72 bool ResourceLoader::Load(const std::wstring& name,
81 bool ResourceLoader::Load(WORD id,
  /external/jsilver/src/com/google/clearsilver/jsilver/template/
Template.java 21 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
35 * @param resourceLoader ResourceLoader to use instead of the default template one when loading
38 void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException;
52 * @param resourceLoader ResourceLoader to load files.
54 RenderingContext createRenderingContext(Data data, Appendable out, ResourceLoader resourceLoader);
    [all...]
TemplateLoader.java 20 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
35 * @param resourceLoader the ResourceLoader object to use to load any files needed to satisfy this
39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode);
  /external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
TemplateFactory.java 20 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
26 * This interface always expects to take a ResourceLoader object from the caller. This helps
35 * @param resourceLoader use this ResourceLoader to locate the named template file and any
39 TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
ResourceLoaderTest.java 24 assertTrue(ResourceLoader.isLayoutDirectory(File.separator + "layout"));
29 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("assets"));
30 String stringValue = resourceLoader.getStringValue(android.R.string.copy);
33 ViewLoader.ViewNode node = resourceLoader.getLayoutViewNode("android:layout/simple_spinner_item");
39 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("assets"));
40 String stringValue = resourceLoader.getStringValue(R.string.copy)
    [all...]
MenuResourceLoaderTest.java 23 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("menu"));
25 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu);
31 ResourceLoader resourceLoader = new ResourceLoader(10, R.class, resourceFile("res"), resourceFile("menu"));
33 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
ImageViewHasDrawableMatcher.java 4 import com.xtremelabs.robolectric.res.ResourceLoader;
26 ResourceLoader resourceLoader = ResourceLoader.getFrom(actualImageView.getContext());
29 String actualName = nameOrUnset(resourceLoader, actualResourceId);
30 String expectedName = nameOrUnset(resourceLoader, expectedResourceId);
35 private String nameOrUnset(ResourceLoader resourceLoader, int resourceId) {
36 return resourceId == 0 ? "unset" : resourceLoader.getNameForId(resourceId);
  /external/jsilver/src/com/google/clearsilver/jsilver/
TemplateRenderer.java 21 import com.google.clearsilver.jsilver.resourceloader.ResourceLoader;
39 * @param resourceLoader ResourceLoader to use when reading in included files.
41 void render(String templateName, Data data, Appendable output, ResourceLoader resourceLoader)
45 * Same as {@link #render(String, Data, Appendable, ResourceLoader)}, except it uses the default
46 * ResourceLoader passed in to the JSilver constructor.
65 * @param resourceLoader ResourceLoader to use when reading in included files
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAssetManager.java 6 import com.xtremelabs.robolectric.res.ResourceLoader;
18 static AssetManager bind(AssetManager assetManager, ResourceLoader resourceLoader) {
20 if (shadowAssetManager.resourceLoader != null) throw new RuntimeException("ResourceLoader already set!");
21 shadowAssetManager.resourceLoader = resourceLoader;
25 private ResourceLoader resourceLoader;
29 File file = new File(resourceLoader.getAssetsBase(), path)
    [all...]

Completed in 718 milliseconds

1 2 3 4