Home
last modified time | relevance | path

Searched refs:blob_info (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/content/browser/indexed_db/
Dindexed_db_callbacks.cc185 const IndexedDBBlobInfo& blob_info, in CreateBlobData() argument
189 std::string uuid = blob_info.uuid(); in CreateBlobData()
198 ShareableFileReference::Get(blob_info.file_path()); in CreateBlobData()
201 blob_info.file_path(), in CreateBlobData()
204 if (!blob_info.release_callback().is_null()) in CreateBlobData()
205 shareable_file->AddFinalReleaseCallback(blob_info.release_callback()); in CreateBlobData()
212 blob_info.file_path(), 0, blob_info.size(), blob_info.last_modified()); in CreateBlobData()
221 const std::vector<IndexedDBBlobInfo>& blob_info, in CreateAllBlobs() argument
224 DCHECK_EQ(blob_info.size(), blob_or_file_info->size()); in CreateAllBlobs()
228 for (i = 0; i < blob_info.size(); ++i) { in CreateAllBlobs()
[all …]
Dindexed_db_value.h25 blob_info.swap(value.blob_info); in swap()
31 blob_info.clear(); in clear()
35 return bits.size() + blob_info.size() * sizeof(IndexedDBBlobInfo); in SizeEstimate()
39 std::vector<IndexedDBBlobInfo> blob_info; member
Dindexed_db_value.cc15 : bits(input_bits), blob_info(input_blob_info) { in IndexedDBValue()
Dindexed_db_backing_store_unittest.cc427 EXPECT_TRUE(CheckBlobInfoMatches(result_value.blob_info)); in TEST_F()
428 EXPECT_TRUE(CheckBlobReadsMatchWrites(result_value.blob_info)); in TEST_F()
662 EXPECT_TRUE(CheckBlobInfoMatches(read_result_value.blob_info)); in TEST_F()
663 EXPECT_TRUE(CheckBlobReadsMatchWrites(read_result_value.blob_info)); in TEST_F()
664 for (size_t i = 0; i < read_result_value.blob_info.size(); ++i) { in TEST_F()
665 read_result_value.blob_info[i].mark_used_callback().Run(); in TEST_F()
683 for (size_t i = 0; i < read_result_value.blob_info.size(); ++i) { in TEST_F()
684 read_result_value.blob_info[i].release_callback().Run( in TEST_F()
685 read_result_value.blob_info[i].file_path()); in TEST_F()
Dindexed_db_dispatcher_host.cc638 std::vector<IndexedDBBlobInfo> blob_info(params.blob_or_file_info.size()); in OnPut() local
651 blob_info[i] = in OnPut()
654 blob_info[i].set_last_modified( in OnPut()
656 blob_info[i].set_size(info.size); in OnPut()
659 blob_info[i] = IndexedDBBlobInfo(info.uuid, info.mime_type, info.size); in OnPut()
666 value.blob_info.swap(blob_info); in OnPut()
Dindexed_db_backing_store.cc655 const std::vector<IndexedDBBlobInfo*>& blob_info) { in EncodeBlobData() argument
658 for (iter = blob_info.begin(); iter != blob_info.end(); ++iter) { in EncodeBlobData()
1890 &value.blob_info, in PutRecord()
2622 value->blob_info = change_record->blob_info(); in GetBlobInfoForRecord()
2639 if (!DecodeBlobData(it->Value().as_string(), &value->blob_info)) { in GetBlobInfoForRecord()
2644 for (iter = value->blob_info.begin(); iter != value->blob_info.end(); in GetBlobInfoForRecord()
3949 std::vector<IndexedDBBlobInfo> blob_info; in CollectBlobFilesToRemove() local
3950 if (!DecodeBlobData(db_iter->Value().as_string(), &blob_info)) { in CollectBlobFilesToRemove()
3956 for (blob_info_iter = blob_info.begin(); in CollectBlobFilesToRemove()
3957 blob_info_iter != blob_info.end(); in CollectBlobFilesToRemove()
[all …]
Dindexed_db_callbacks.h113 void RegisterBlobsAndSend(const std::vector<IndexedDBBlobInfo>& blob_info,
Dindexed_db_backing_store.h382 void SetBlobInfo(std::vector<IndexedDBBlobInfo>* blob_info);
384 const std::vector<IndexedDBBlobInfo>& blob_info() const { in blob_info() function
/external/chromium_org/tools/deep_memory_profiler/visualizer/
Dservices.py27 def CreateProfiler(blob_info): argument
29 json_str = blob_info.open().read()
37 profiler = Profiler(id=run_id, blob_key=blob_info.key())
50 def CreateTemplates(blob_info): argument
53 json_str = blob_info.open().read()
Dapp.py56 blob_info = self.get_uploads('file')[0]
58 run_id = services.CreateProfiler(blob_info)
59 default_key = services.CreateTemplates(blob_info)
/external/chromium_org/content/child/indexed_db/
Dwebidbcursor_impl_unittest.cc179 std::vector<WebVector<WebBlobInfo> > blob_info; in TEST_F() local
182 blob_info.push_back( in TEST_F()
185 cursor.SetPrefetchData(keys, primary_keys, values, blob_info); in TEST_F()
239 std::vector<WebVector<WebBlobInfo> > blob_info; in TEST_F() local
242 blob_info.push_back( in TEST_F()
245 cursor.SetPrefetchData(keys, primary_keys, values, blob_info); in TEST_F()
314 std::vector<WebVector<WebBlobInfo> > blob_info(prefetch_count); in TEST_F() local
315 cursor.SetPrefetchData(keys, primary_keys, values, blob_info); in TEST_F()
Dwebidbcursor_impl.cc126 const std::vector<blink::WebVector<blink::WebBlobInfo> >& blob_info) { in SetPrefetchData()
130 prefetch_blob_info_.assign(blob_info.begin(), blob_info.end()); in SetPrefetchData()
164 blink::WebVector<blink::WebBlobInfo> blob_info = prefetch_blob_info_.front(); in CachedContinue() local
185 blob_info); in CachedContinue()
Dwebidbcursor_impl.h45 const std::vector<blink::WebVector<blink::WebBlobInfo> >& blob_info); in NON_EXPORTED_BASE()
Dindexed_db_dispatcher.cc525 const std::vector<IndexedDBMsg_BlobOrFileInfo>& blob_info, in PrepareWebValueAndBlobInfo() argument
533 blink::WebVector<WebBlobInfo> local_blob_info(blob_info.size()); in PrepareWebValueAndBlobInfo()
534 for (size_t i = 0; i < blob_info.size(); ++i) { in PrepareWebValueAndBlobInfo()
535 const IndexedDBMsg_BlobOrFileInfo& info = blob_info[i]; in PrepareWebValueAndBlobInfo()