/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 | 66 ResourceLoader::ResourceLoader(scoped_ptr<net::URLRequest> request, 77 ResourceLoader::~ResourceLoader() { 88 void ResourceLoader::StartRequest() { 109 void ResourceLoader::CancelRequest(bool from_renderer) { 113 void ResourceLoader::CancelAndIgnore() { 119 void ResourceLoader::CancelWithError(int error_code) { 123 void ResourceLoader::ReportUploadProgress() { 158 void ResourceLoader::MarkAsTransferring(const GURL& target_url) [all...] |
resource_loader_unittest.cc | 66 // initialize ResourceLoader. 156 ResourceLoader* loader, 161 ResourceLoader* loader, 166 ResourceLoader* loader, 170 virtual bool HandleExternalProtocol(ResourceLoader* loader, 174 virtual void DidStartRequest(ResourceLoader* loader) OVERRIDE {} 175 virtual void DidReceiveRedirect(ResourceLoader* loader, 177 virtual void DidReceiveResponse(ResourceLoader* loader) OVERRIDE {} 178 virtual void DidFinishLoading(ResourceLoader* loader) OVERRIDE {} 187 // ResourceLoader [all...] |
resource_loader.h | 30 class CONTENT_EXPORT ResourceLoader : public net::URLRequest::Delegate, 34 ResourceLoader(scoped_ptr<net::URLRequest> request, 37 virtual ~ResourceLoader(); 61 ResourceLoader(scoped_ptr<net::URLRequest> request, 139 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; 141 DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
|
resource_dispatcher_host_impl.h | 262 ResourceLoader* loader, 265 ResourceLoader* loader, 268 ResourceLoader* loader, 270 virtual bool HandleExternalProtocol(ResourceLoader* loader, 272 virtual void DidStartRequest(ResourceLoader* loader) OVERRIDE; 273 virtual void DidReceiveRedirect(ResourceLoader* loader, 275 virtual void DidReceiveResponse(ResourceLoader* loader) OVERRIDE; 276 virtual void DidFinishLoading(ResourceLoader* loader) OVERRIDE; 297 const linked_ptr<ResourceLoader>& loader); 344 typedef std::map<GlobalRequestID, linked_ptr<ResourceLoader> > LoaderMap [all...] |
/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/chromium_org/third_party/WebKit/Source/core/loader/ |
ResourceLoader.cpp | 31 #include "core/loader/ResourceLoader.h" 50 ResourceLoader::RequestCountTracker::RequestCountTracker(ResourceLoaderHost* host, Resource* resource) 57 ResourceLoader::RequestCountTracker::~RequestCountTracker() 62 PassRefPtr<ResourceLoader> ResourceLoader::create(ResourceLoaderHost* host, Resource* resource, const ResourceRequest& request, const ResourceLoaderOptions& options) 64 RefPtr<ResourceLoader> loader(adoptRef(new ResourceLoader(host, resource, options))); 70 ResourceLoader::ResourceLoader(ResourceLoaderHost* host, Resource* resource, const ResourceLoaderOptions& options) 82 ResourceLoader::~ResourceLoader( [all...] |
ResourceLoaderHost.h | 42 class ResourceLoader; 67 virtual void subresourceLoaderFinishedLoadingOnePart(ResourceLoader*) = 0; 68 virtual void didInitializeResourceLoader(ResourceLoader*) = 0; 69 virtual void willTerminateResourceLoader(ResourceLoader*) = 0;
|
ResourceLoadNotifier.h | 42 class ResourceLoader; 52 void dispatchDidReceiveResponse(DocumentLoader*, unsigned long identifier, const ResourceResponse&, ResourceLoader* = 0);
|
ResourceLoader.h | 47 class ResourceLoader : public RefCounted<ResourceLoader>, protected WebKit::WebURLLoaderClient { 49 static PassRefPtr<ResourceLoader> create(ResourceLoaderHost*, Resource*, const ResourceRequest&, const ResourceLoaderOptions&); 50 virtual ~ResourceLoader(); 87 ResourceLoader(ResourceLoaderHost*, Resource*, const ResourceLoaderOptions&);
|
/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...] |