HomeSort by relevance Sort by last modified time
    Searched refs:BufferedResourceLoader (Results 1 - 19 of 19) sorted by null

  /external/chromium/webkit/glue/media/
buffered_resource_loader.cc 47 BufferedResourceLoader::BufferedResourceLoader(
74 BufferedResourceLoader::~BufferedResourceLoader() {
79 void BufferedResourceLoader::Start(net::CompletionCallback* start_callback,
123 void BufferedResourceLoader::Stop() {
149 void BufferedResourceLoader::Read(int64 position,
204 int64 BufferedResourceLoader::GetBufferedPosition() {
210 int64 BufferedResourceLoader::content_length() {
214 int64 BufferedResourceLoader::instance_size()
    [all...]
buffered_resource_loader.h 35 class BufferedResourceLoader :
36 public base::RefCountedThreadSafe<BufferedResourceLoader>,
55 BufferedResourceLoader(const GURL& url,
154 friend class base::RefCountedThreadSafe<BufferedResourceLoader>;
155 virtual ~BufferedResourceLoader();
263 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader);
buffered_data_source.h 58 // A factory method to create a BufferedResourceLoader based on the read
60 // BufferedResourceLoader for testing.
61 virtual BufferedResourceLoader* CreateResourceLoader(
100 BufferedResourceLoader::DeferStrategy ChooseDeferStrategy();
122 // Callback method to be passed to BufferedResourceLoader during range
125 // BufferedResourceLoader lives, i.e. render thread.
128 // Callback method for making a read request to BufferedResourceLoader.
161 scoped_refptr<BufferedResourceLoader> loader_;
177 // This buffer is intermediate, we use it for BufferedResourceLoader to write
178 // to. And when read in BufferedResourceLoader is done, we copy data fro
    [all...]
buffered_data_source.cc 75 // A factory method to create BufferedResourceLoader using the read parameters.
76 // This method can be overrided to inject mock BufferedResourceLoader object
78 BufferedResourceLoader* BufferedDataSource::CreateResourceLoader(
82 return new BufferedResourceLoader(url_,
321 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy();
358 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy();
376 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy();
385 BufferedResourceLoader::DeferStrategy
390 return BufferedResourceLoader::kReadThenDefer;
397 return BufferedResourceLoader::kNeverDefer
    [all...]
buffered_resource_loader_unittest.cc 86 loader_ = new BufferedResourceLoader(gurl_,
232 scoped_refptr<BufferedResourceLoader> loader_;
328 loader_->UpdateDeferStrategy(BufferedResourceLoader::kThresholdDefer);
379 loader_->UpdateDeferStrategy(BufferedResourceLoader::kThresholdDefer);
427 loader_->UpdateDeferStrategy(BufferedResourceLoader::kNeverDefer);
449 loader_->UpdateDeferStrategy(BufferedResourceLoader::kReadThenDefer);
480 loader_->UpdateDeferStrategy(BufferedResourceLoader::kThresholdDefer);
buffered_data_source_unittest.cc 45 // A mock BufferedDataSource to inject mock BufferedResourceLoader through
59 BufferedResourceLoader*(int64 first_position,
66 class MockBufferedResourceLoader : public BufferedResourceLoader {
68 MockBufferedResourceLoader() : BufferedResourceLoader(GURL(), 0, 0) {
223 BufferedResourceLoader::NetworkEventCallback* network_callback,
  /external/chromium_org/content/renderer/media/
buffered_data_source.h 54 BufferedResourceLoader::CORSMode cors_mode,
94 // A factory method to create a BufferedResourceLoader based on the read
96 // BufferedResourceLoader for testing.
97 virtual BufferedResourceLoader* CreateResourceLoader(
120 // BufferedResourceLoader::Start() callback for initial load.
121 void StartCallback(BufferedResourceLoader::Status status);
123 // BufferedResourceLoader::Start() callback for subsequent loads (i.e.,
125 void PartialReadStartCallback(BufferedResourceLoader::Status status);
127 // BufferedResourceLoader callbacks.
128 void ReadCallback(BufferedResourceLoader::Status status, int bytes_read)
    [all...]
buffered_resource_loader_unittest.cc 83 loader_.reset(new BufferedResourceLoader(
84 gurl_, BufferedResourceLoader::kUnspecified,
86 BufferedResourceLoader::kCapacityDefer, 0, 0,
105 EXPECT_CALL(*this, LoadingCallback(BufferedResourceLoader::kLoading));
117 FullResponse(instance_size, BufferedResourceLoader::kOk);
121 BufferedResourceLoader::Status status) {
132 if (status == BufferedResourceLoader::kOk) {
147 EXPECT_CALL(*this, StartCallback(BufferedResourceLoader::kOk));
227 BufferedResourceLoader::kLoadingDeferred));
283 MOCK_METHOD1(StartCallback, void(BufferedResourceLoader::Status))
    [all...]
buffered_resource_loader.cc 97 BufferedResourceLoader::BufferedResourceLoader(
134 BufferedResourceLoader::~BufferedResourceLoader() {}
136 void BufferedResourceLoader::Start(
206 void BufferedResourceLoader::Stop() {
217 void BufferedResourceLoader::Read(
313 int64 BufferedResourceLoader::content_length() {
317 int64 BufferedResourceLoader::instance_size() {
321 bool BufferedResourceLoader::range_supported()
    [all...]
buffered_data_source.cc 85 : cors_mode_(BufferedResourceLoader::kUnspecified),
107 // A factory method to create BufferedResourceLoader using the read parameters.
108 // This method can be overridden to inject mock BufferedResourceLoader object
110 BufferedResourceLoader* BufferedDataSource::CreateResourceLoader(
114 BufferedResourceLoader::DeferStrategy strategy = preload_ == METADATA ?
115 BufferedResourceLoader::kReadThenDefer :
116 BufferedResourceLoader::kCapacityDefer;
118 return new BufferedResourceLoader(url_,
139 BufferedResourceLoader::CORSMode cors_mode,
322 // First we prepare the intermediate read buffer for BufferedResourceLoader
    [all...]
buffered_resource_loader.h 34 // BufferedResourceLoader is single threaded and must be accessed on the
38 class CONTENT_EXPORT BufferedResourceLoader
50 // Status codes for start/read operations on BufferedResourceLoader.
88 BufferedResourceLoader(
97 virtual ~BufferedResourceLoader();
114 // It is safe to delete a BufferedResourceLoader after calling Stop().
320 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader);
buffered_data_source_unittest.cc 48 MOCK_METHOD2(CreateResourceLoader, BufferedResourceLoader*(int64, int64));
49 BufferedResourceLoader* CreateMockResourceLoader(int64 first_byte_position,
53 BufferedResourceLoader* loader =
115 gurl, BufferedResourceLoader::kUnspecified, base::Bind(
190 BufferedResourceLoader* loader() {
198 BufferedResourceLoader::DeferStrategy defer_strategy() {
520 EXPECT_EQ(BufferedResourceLoader::kCapacityDefer, defer_strategy());
540 BufferedResourceLoader* old_loader = loader();
563 BufferedResourceLoader* old_loader = loader();
webmediaplayer_impl.cc 111 static_cast<int>(BufferedResourceLoader::k ## name), \
298 url, static_cast<BufferedResourceLoader::CORSMode>(cors_mode),
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
BufferedResourceLoader.java 28 public abstract class BufferedResourceLoader extends BaseResourceLoader {
ClassLoaderResourceLoader.java 51 public class ClassLoaderResourceLoader extends BufferedResourceLoader {
ClassResourceLoader.java 51 public class ClassResourceLoader extends BufferedResourceLoader {
FileSystemResourceLoader.java 32 public class FileSystemResourceLoader extends BufferedResourceLoader {
  /prebuilts/devtools/tools/lib/
jsilver-1.0.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/jsilver/jsilver/1.0.0/
jsilver-1.0.0.jar 

Completed in 96 milliseconds