Home
last modified time | relevance | path

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

123

/external/chromium/base/memory/
Dref_counted_memory.cc21 RefCountedBytes::RefCountedBytes() { in RefCountedBytes() function in RefCountedBytes
24 RefCountedBytes::RefCountedBytes(const std::vector<unsigned char>& initializer) in RefCountedBytes() function in RefCountedBytes
28 RefCountedBytes* RefCountedBytes::TakeVector( in TakeVector()
30 RefCountedBytes* bytes = new RefCountedBytes; in TakeVector()
35 const unsigned char* RefCountedBytes::front() const { in front()
41 size_t RefCountedBytes::size() const { in size()
45 RefCountedBytes::~RefCountedBytes() { in ~RefCountedBytes()
Dref_counted_memory.h58 class BASE_API RefCountedBytes : public RefCountedMemory {
60 RefCountedBytes();
63 RefCountedBytes(const std::vector<unsigned char>& initializer);
68 static RefCountedBytes* TakeVector(std::vector<unsigned char>* to_destroy);
77 friend class base::RefCountedThreadSafe<RefCountedBytes>;
78 virtual ~RefCountedBytes();
81 DISALLOW_COPY_AND_ASSIGN(RefCountedBytes);
/external/chromium/chrome/browser/ui/webui/
Dntp_resource_cache.h16 class RefCountedBytes; variable
25 RefCountedBytes* GetNewTabHTML(bool is_incognito);
26 RefCountedBytes* GetNewTabCSS(bool is_incognito);
37 scoped_refptr<RefCountedBytes> new_tab_incognito_html_;
39 scoped_refptr<RefCountedBytes> new_tab_html_;
42 scoped_refptr<RefCountedBytes> new_tab_incognito_css_;
44 scoped_refptr<RefCountedBytes> new_tab_css_;
Dfileicon_source.cc47 scoped_refptr<RefCountedBytes> icon_data(new RefCountedBytes); in StartDataRequest()
74 scoped_refptr<RefCountedBytes> icon_data(new RefCountedBytes); in OnFileIconDataAvailable()
Dprint_preview_ui_html_source.cc126 scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes); in StartDataRequest()
137 scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes); in StartDataRequest()
146 scoped_refptr<RefCountedBytes> empty_bytes(new RefCountedBytes); in StartDataRequest()
Dfileicon_source.h15 class RefCountedBytes; variable
47 scoped_refptr<RefCountedBytes> default_favicon_;
Dtheme_source.h14 class RefCountedBytes; variable
43 scoped_refptr<RefCountedBytes> css_bytes_;
Dsync_internals_html_source.cc40 scoped_refptr<RefCountedBytes> bytes(new RefCountedBytes()); in StartDataRequest()
Dremoting_ui.cc50 scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes()); in StartDataRequest()
Dtextfields_ui.cc34 scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes); in StartDataRequest()
Ddownloads_ui.cc116 scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes); in StartDataRequest()
Dntp_resource_cache.cc166 RefCountedBytes* NTPResourceCache::GetNewTabHTML(bool is_incognito) { in GetNewTabHTML()
179 RefCountedBytes* NTPResourceCache::GetNewTabCSS(bool is_incognito) { in GetNewTabCSS()
253 new_tab_incognito_html_ = new RefCountedBytes; in CreateNewTabIncognitoHTML()
423 new_tab_html_ = new RefCountedBytes; in CreateNewTabHTML()
458 new_tab_incognito_css_ = new RefCountedBytes; in CreateNewTabIncognitoCSS()
565 new_tab_css_ = new RefCountedBytes; in CreateNewTabCSS()
/external/chromium/chrome/browser/history/
Dthumbnail_database_unittest.cc119 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); in TEST_F()
145 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); in TEST_F()
167 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); in TEST_F()
199 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); in TEST_F()
230 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); in TEST_F()
275 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); in TEST_F()
299 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); in TEST_F()
321 scoped_refptr<RefCountedBytes> favicon(new RefCountedBytes(data)); in TEST_F()
338 scoped_refptr<RefCountedBytes> favicon2(new RefCountedBytes(data)); in TEST_F()
352 scoped_refptr<RefCountedBytes> favicon3(new RefCountedBytes(data2)); in TEST_F()
[all …]
Dtop_sites.h80 scoped_refptr<RefCountedBytes>* bytes);
207 const RefCountedBytes* thumbnail_data,
213 const RefCountedBytes* thumbnail,
219 scoped_refptr<RefCountedBytes>* bytes);
227 const RefCountedBytes* thumbnail,
Dtop_sites_cache.h16 class RefCountedBytes; variable
36 RefCountedBytes* thumbnail,
46 scoped_refptr<RefCountedBytes>* bytes);
Dtop_sites_unittest.cc109 SkBitmap ExtractThumbnail(const RefCountedBytes& t1) { in ExtractThumbnail()
116 bool ThumbnailsAreEqual(RefCountedBytes* t1, RefCountedBytes* t2) { in ThumbnailsAreEqual()
157 scoped_refptr<RefCountedBytes> data; in GetThumbnail()
266 bool ThumbnailEqualsBytes(const SkBitmap& image, RefCountedBytes* bytes) { in ThumbnailEqualsBytes()
267 scoped_refptr<RefCountedBytes> encoded_image; in ThumbnailEqualsBytes()
295 scoped_refptr<RefCountedBytes>* bytes) { in EncodeBitmap()
540 scoped_refptr<RefCountedBytes> result; in TEST_F()
569 scoped_refptr<RefCountedBytes> result; in TEST_F()
643 scoped_refptr<RefCountedBytes> read_data; in TEST_F()
708 scoped_refptr<RefCountedBytes> read_data; in TEST_F()
[all …]
Dtop_sites.cc97 scoped_refptr<RefCountedBytes> data; in RunOnDBThread()
208 scoped_refptr<RefCountedBytes> thumbnail_data; in SetPageThumbnail()
247 scoped_refptr<RefCountedBytes>* bytes) { in GetPageThumbnail()
523 const RefCountedBytes* thumbnail_data, in SetPageThumbnailNoDB()
544 image->thumbnail = const_cast<RefCountedBytes*>(thumbnail_data); in SetPageThumbnailNoDB()
552 const RefCountedBytes* thumbnail, in SetPageThumbnailEncoded()
571 scoped_refptr<RefCountedBytes>* bytes) { in EncodeBitmap()
572 *bytes = new RefCountedBytes(); in EncodeBitmap()
600 const RefCountedBytes* thumbnail, in AddTemporaryThumbnail()
607 image.second.thumbnail = const_cast<RefCountedBytes*>(thumbnail); in AddTemporaryThumbnail()
Dhistory_backend_unittest.cc227 new RefCountedBytes(data), Time::Now())); in TEST_F()
231 favicon2, new RefCountedBytes(data), Time::Now())); in TEST_F()
360 favicon1, new RefCountedBytes(data), Time::Now())); in TEST_F()
364 favicon2, new RefCountedBytes(data), Time::Now())); in TEST_F()
530 RefCountedBytes::TakeVector(&data), Time::Now())); in TEST_F()
850 url1, icon_url, RefCountedBytes::TakeVector(&data), FAVICON); in TEST_F()
858 url1, icon_url, RefCountedBytes::TakeVector(&data), TOUCH_ICON); in TEST_F()
869 RefCountedBytes::TakeVector(&data), in TEST_F()
883 url1, icon_url, RefCountedBytes::TakeVector(&data), TOUCH_ICON); in TEST_F()
895 url1, icon_url2, RefCountedBytes::TakeVector(&data), FAVICON); in TEST_F()
[all …]
Dtop_sites_cache.cc28 RefCountedBytes* thumbnail, in SetPageThumbnail()
40 scoped_refptr<RefCountedBytes>* bytes) { in GetPageThumbnail()
/external/chromium/chrome/browser/ui/webui/chromeos/login/
Dlogin_ui_helpers.cc33 RefCountedBytes* HTMLOperationsInterface::CreateHTMLBytes( in CreateHTMLBytes()
35 RefCountedBytes* html_bytes = new RefCountedBytes(); in CreateHTMLBytes()
Dlogin_ui_helpers.h15 class RefCountedBytes; variable
32 virtual RefCountedBytes* CreateHTMLBytes(std::string full_html);
/external/chromium/chrome/browser/ui/webui/chromeos/
Dregister_page_ui.cc171 scoped_refptr<RefCountedBytes> empty_bytes(new RefCountedBytes); in StartDataRequest()
180 scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes); in StartDataRequest()
188 scoped_refptr<RefCountedBytes> empty_bytes(new RefCountedBytes); in StartDataRequest()
Dproxy_settings_ui.cc58 scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes); in StartDataRequest()
Dsystem_info_ui.cc145 scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes); in SyslogsComplete()
/external/chromium/chrome/browser/
Dfavicon_helper_unittest.cc298 scoped_refptr<RefCountedBytes> data = new RefCountedBytes(); in TEST_F()
407 scoped_refptr<RefCountedBytes> data = new RefCountedBytes(); in TEST_F()
492 scoped_refptr<RefCountedBytes> data = new RefCountedBytes(); in TEST_F()
632 scoped_refptr<RefCountedBytes> data = new RefCountedBytes(); in TEST_F()
759 scoped_refptr<RefCountedBytes> data = new RefCountedBytes(); in TEST_F()

123