Searched refs:RefCountedMemory (Results 1 - 25 of 178) sorted by relevance

12345678

/external/chromium_org/components/enhanced_bookmarks/
H A Dimage_store_util.h19 scoped_refptr<base::RefCountedMemory> BytesForImage(const gfx::Image& image);
23 gfx::Image ImageForBytes(const scoped_refptr<base::RefCountedMemory>& data);
H A Dimage_store_util.cc16 scoped_refptr<base::RefCountedMemory> BytesForImage(const gfx::Image& image) {
25 return scoped_refptr<base::RefCountedMemory>();
27 return scoped_refptr<base::RefCountedMemory>(new base::RefCountedBytes(data));
30 gfx::Image ImageForBytes(const scoped_refptr<base::RefCountedMemory>& bytes) {
/external/chromium_org/sync/api/attachments/
H A Dattachment.h35 static Attachment Create(const scoped_refptr<base::RefCountedMemory>& data);
43 const scoped_refptr<base::RefCountedMemory>& data);
49 const scoped_refptr<base::RefCountedMemory>& GetData() const;
53 scoped_refptr<base::RefCountedMemory> data_;
56 const scoped_refptr<base::RefCountedMemory>& data);
H A Dattachment.cc15 const scoped_refptr<base::RefCountedMemory>& data) {
22 const scoped_refptr<base::RefCountedMemory>& data) {
28 const scoped_refptr<base::RefCountedMemory>& Attachment::GetData() const {
33 const scoped_refptr<base::RefCountedMemory>& data)
/external/chromium_org/ui/gl/
H A Dgl_image_ref_counted_memory.h12 class RefCountedMemory;
21 bool Initialize(base::RefCountedMemory* ref_counted_memory);
30 scoped_refptr<base::RefCountedMemory> ref_counted_memory_;
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dntp_resource_cache.h20 class RefCountedMemory;
41 base::RefCountedMemory* GetNewTabHTML(WindowType win_type);
42 base::RefCountedMemory* GetNewTabCSS(WindowType win_type);
77 scoped_refptr<base::RefCountedMemory> new_tab_html_;
91 scoped_refptr<base::RefCountedMemory> new_tab_guest_html_;
92 scoped_refptr<base::RefCountedMemory> new_tab_guest_css_;
93 scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_;
94 scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_;
95 scoped_refptr<base::RefCountedMemory> new_tab_css_;
/external/chromium_org/chrome/browser/ui/webui/
H A Dconflicts_ui.h14 class RefCountedMemory;
22 static base::RefCountedMemory* GetFaviconResourceBytes(
H A Dcrashes_ui.h12 class RefCountedMemory;
19 static base::RefCountedMemory* GetFaviconResourceBytes(
H A Ddownloads_ui.h12 class RefCountedMemory;
19 static base::RefCountedMemory* GetFaviconResourceBytes(
H A Dflash_ui.h12 class RefCountedMemory;
20 static base::RefCountedMemory* GetFaviconResourceBytes(
H A Dplugins_ui.h12 class RefCountedMemory;
23 static base::RefCountedMemory* GetFaviconResourceBytes(
H A Dflags_ui.h20 class RefCountedMemory;
32 static base::RefCountedMemory* GetFaviconResourceBytes(
H A Dapp_launcher_page_ui.h15 class RefCountedMemory;
24 static base::RefCountedMemory* GetFaviconResourceBytes(
/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dextensions_ui.h13 class RefCountedMemory;
23 static base::RefCountedMemory* GetFaviconResourceBytes(
/external/chromium_org/ui/gfx/image/
H A Dimage_png_rep.h19 ImagePNGRep(const scoped_refptr<base::RefCountedMemory>& data,
29 scoped_refptr<base::RefCountedMemory> raw_data;
/external/chromium_org/chrome/browser/ui/webui/media/
H A Dwebrtc_logs_ui.h12 class RefCountedMemory;
/external/chromium_org/base/memory/
H A Dref_counted_memory.h20 class BASE_EXPORT RefCountedMemory class in namespace:base
21 : public base::RefCountedThreadSafe<RefCountedMemory> {
31 bool Equals(const scoped_refptr<RefCountedMemory>& other) const;
39 friend class base::RefCountedThreadSafe<RefCountedMemory>;
40 RefCountedMemory();
41 virtual ~RefCountedMemory();
44 // An implementation of RefCountedMemory, where the ref counting does not
46 class BASE_EXPORT RefCountedStaticMemory : public RefCountedMemory {
54 // Overridden from RefCountedMemory:
67 // An implementation of RefCountedMemory, wher
[all...]
H A Dref_counted_memory_unittest.cc12 scoped_refptr<RefCountedMemory> mem = new RefCountedStaticMemory(
23 scoped_refptr<RefCountedMemory> mem = RefCountedBytes::TakeVector(&data);
31 scoped_refptr<RefCountedMemory> mem2;
44 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s);
57 scoped_refptr<RefCountedMemory> mem = new RefCountedMallocedMemory(data, 6);
65 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1);
72 scoped_refptr<RefCountedMemory> mem2 = RefCountedBytes::TakeVector(&d2);
77 scoped_refptr<RefCountedMemory> mem3 = RefCountedString::TakeString(&s3);
85 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s);
H A Dref_counted_memory.cc13 bool RefCountedMemory::Equals(
14 const scoped_refptr<RefCountedMemory>& other) const {
20 RefCountedMemory::RefCountedMemory() {} function in class:base::RefCountedMemory
22 RefCountedMemory::~RefCountedMemory() {}
/external/chromium_org/content/browser/webui/
H A Durl_data_source_impl.cc28 base::RefCountedMemory* bytes) {
30 scoped_refptr<base::RefCountedMemory> bytes_ptr(bytes);
53 scoped_refptr<base::RefCountedMemory> bytes) {
H A Durl_data_source_impl.h15 class RefCountedMemory;
59 virtual void SendResponse(int request_id, base::RefCountedMemory* bytes);
76 scoped_refptr<base::RefCountedMemory> bytes);
/external/chromium_org/chrome/browser/thumbnails/
H A Dthumbnail_service.h15 class RefCountedMemory;
51 scoped_refptr<base::RefCountedMemory>* bytes) = 0;
H A Dthumbnail_service_impl.h14 class RefCountedMemory;
32 scoped_refptr<base::RefCountedMemory>* bytes) OVERRIDE;
/external/chromium_org/chrome/browser/search/
H A Dmost_visited_iframe_source_unittest.cc14 void ExpectNullData(base::RefCountedMemory* data) {
/external/chromium_org/ui/base/x/
H A Dselection_utils.h53 const scoped_refptr<base::RefCountedMemory>& memory);
56 const scoped_refptr<base::RefCountedMemory>& memory);
65 typedef std::map< ::Atom, scoped_refptr<base::RefCountedMemory> > InternalMap;
74 void Insert(::Atom atom, const scoped_refptr<base::RefCountedMemory>& item);
101 const scoped_refptr<base::RefCountedMemory>& memory);
124 scoped_refptr<base::RefCountedMemory> memory_;

Completed in 4473 milliseconds

12345678