Home
last modified time | relevance | path

Searched refs:RefCountedString (Results 1 – 25 of 96) sorted by relevance

1234

/external/chromium_org/base/memory/
Dref_counted_memory.cc62 RefCountedString::RefCountedString() {} in RefCountedString() function in base::RefCountedString
64 RefCountedString::~RefCountedString() {} in ~RefCountedString()
67 RefCountedString* RefCountedString::TakeString(std::string* to_destroy) { in TakeString()
68 RefCountedString* self = new RefCountedString; in TakeString()
73 const unsigned char* RefCountedString::front() const { in front()
78 size_t RefCountedString::size() const { in size()
Dref_counted_memory.h100 class BASE_EXPORT RefCountedString : public RefCountedMemory {
102 RefCountedString();
107 static RefCountedString* TakeString(std::string* to_destroy);
117 virtual ~RefCountedString();
121 DISALLOW_COPY_AND_ASSIGN(RefCountedString);
Dref_counted_memory_unittest.cc42 TEST(RefCountedMemoryUnitTest, RefCountedString) { in TEST() argument
44 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
65 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1); in TEST()
77 scoped_refptr<RefCountedMemory> mem3 = RefCountedString::TakeString(&s3); in TEST()
85 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
/external/chromium_org/sync/api/attachments/
Dattachment_unittest.cc25 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
34 scoped_refptr<base::RefCountedString> empty_data(new base::RefCountedString); in TEST_F()
41 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
Dfake_attachment_store_unittest.cc33 scoped_refptr<base::RefCountedString> some_data1;
34 scoped_refptr<base::RefCountedString> some_data2;
50 some_data1 = new base::RefCountedString; in SetUp()
53 some_data2 = new base::RefCountedString; in SetUp()
/external/chromium_org/components/feedback/
Dtracing_manager.h18 class RefCountedString; variable
23 typedef base::Callback<void(scoped_refptr<base::RefCountedString> trace_data)>
61 void OnTraceDataCollected(base::RefCountedString* data);
67 std::map<int, scoped_refptr<base::RefCountedString> > trace_data_;
Dtracing_manager.cc63 std::map<int, scoped_refptr<base::RefCountedString> >::iterator data = in GetTraceData()
85 trace_callback_.Run(scoped_refptr<base::RefCountedString>()); in DiscardTraceData()
98 void TracingManager::OnTraceDataCollected(base::RefCountedString* trace_data) { in OnTraceDataCollected()
106 scoped_refptr<base::RefCountedString> output( in OnTraceDataCollected()
107 base::RefCountedString::TakeString(&output_val)); in OnTraceDataCollected()
Dfeedback_data.h17 class RefCountedString; variable
86 scoped_refptr<base::RefCountedString> trace_data);
/external/chromium_org/content/browser/tracing/
Dtracing_ui.cc51 base::RefCountedString* res = new base::RefCountedString(); in OnGotCategories()
128 base::RefCountedString* res = new base::RefCountedString(); in OnRecordingEnabledAck()
135 callback.Run(base::RefCountedString::TakeString(&str)); in OnTraceBufferPercentFullResult()
154 base::RefCountedString* res = new base::RefCountedString(); in OnMonitoringEnabledAck()
159 base::RefCountedString* res = new base::RefCountedString(); in OnMonitoringDisabled()
183 base::RefCountedString* monitoring_options_base64 = in GetMonitoringStatus()
184 new base::RefCountedString(); in GetMonitoringStatus()
191 base::RefCountedString* data) { in TracingCallbackWrapper()
246 callback.Run(base::RefCountedString::TakeString(&error)); in OnTracingRequest()
Dtracing_controller_impl.h16 class RefCountedString; variable
98 const scoped_refptr<base::RefCountedString>& events_str_ptr);
100 const scoped_refptr<base::RefCountedString>& events_str_ptr);
104 const scoped_refptr<base::RefCountedString>& events_str_ptr,
108 const scoped_refptr<base::RefCountedString>& events_str_ptr,
117 const scoped_refptr<base::RefCountedString>& events_str_ptr);
Dtrace_message_filter.cc143 scoped_refptr<base::RefCountedString> data_ptr(new base::RefCountedString()); in OnTraceDataCollected()
150 scoped_refptr<base::RefCountedString> data_ptr(new base::RefCountedString()); in OnMonitoringTraceDataCollected()
Dtracing_controller_impl.cc48 scoped_refptr<base::RefCountedString> chunk_ptr = in AddTraceChunk()
49 base::RefCountedString::TakeString(&tmp); in AddTraceChunk()
70 const scoped_refptr<base::RefCountedString> chunk) { in AddTraceChunkOnFileThread()
124 typedef base::Callback<void(base::RefCountedString*)> CompletionCallback;
144 scoped_refptr<base::RefCountedString> str = in Close()
145 base::RefCountedString::TakeString(&result); in Close()
427 const base::Callback<void(base::RefCountedString*)>& callback) { in CreateStringSink()
704 const scoped_refptr<base::RefCountedString>& events_str_ptr) { in OnEndSystemTracingAcked()
763 const scoped_refptr<base::RefCountedString>& events_str_ptr) { in OnTraceDataCollected()
778 const scoped_refptr<base::RefCountedString>& events_str_ptr) { in OnMonitoringTraceDataCollected()
[all …]
Detw_system_event_consumer_win.h23 typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&)>
60 const scoped_refptr<base::RefCountedString>& result);
Detw_system_event_consumer_win.cc73 const scoped_refptr<base::RefCountedString>& result) { in OnStopSystemTracingDone()
209 scoped_refptr<base::RefCountedString> result = in FlushOnThread()
210 base::RefCountedString::TakeString(&output); in FlushOnThread()
/external/chromium_org/sync/internal_api/attachments/
Dattachment_uploader_impl_unittest.cc425 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
460 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
480 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
503 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
525 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
562 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
600 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
Dfake_attachment_uploader_unittest.cc48 scoped_refptr<base::RefCountedString> some_data(new base::RefCountedString); in TEST_F()
Dattachment_downloader_impl.cc116 scoped_refptr<base::RefCountedString> null_attachment_data; in OnGetTokenFailure()
137 scoped_refptr<base::RefCountedString> attachment_data; in OnURLFetchComplete()
144 attachment_data = base::RefCountedString::TakeString(&data_as_string); in OnURLFetchComplete()
193 const scoped_refptr<base::RefCountedString>& attachment_data) { in ReportResult()
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_app_data.h20 class RefCountedString; variable
74 const base::RefCountedString* raw_icon() const { in raw_icon()
101 void OnIconLoadSuccess(const scoped_refptr<base::RefCountedString>& raw_icon,
133 scoped_refptr<base::RefCountedString> raw_icon_;
Dkiosk_app_data.cc55 scoped_refptr<base::RefCountedString> raw_icon) { in SaveIconToLocalOnBlockingPool()
129 raw_icon_ = base::RefCountedString::TakeString(&data); in LoadOnBlockingPool()
183 scoped_refptr<base::RefCountedString> raw_icon_;
388 raw_icon_ = new base::RefCountedString; in SetCache()
417 const scoped_refptr<base::RefCountedString>& raw_icon, in OnIconLoadSuccess()
/external/chromium_org/components/dom_distiller/content/
Ddom_distiller_viewer_source.cc199 callback_.Run(base::RefCountedString::TakeString(&unsafe_page_html)); in OnArticleReady()
230 callback_.Run(base::RefCountedString::TakeString(&unsafe_page_html)); in OnArticleUpdated()
281 callback.Run(base::RefCountedString::TakeString(&css)); in StartDataRequest()
286 callback.Run(base::RefCountedString::TakeString(&js)); in StartDataRequest()
322 callback.Run(base::RefCountedString::TakeString(&error_page_html)); in StartDataRequest()
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Dslow_trace_ui.h17 class RefCountedString; variable
43 scoped_refptr<base::RefCountedString> trace_data);
/external/chromium_org/components/tracing/
Dchild_trace_message_filter.h50 const scoped_refptr<base::RefCountedString>& events_str_ptr,
54 const scoped_refptr<base::RefCountedString>& events_str_ptr,
/external/chromium_org/chrome/browser/ui/webui/app_list/
Dstart_page_ui.cc37 scoped_refptr<base::RefCountedString> data(new base::RefCountedString()); in LoadModelData()
/external/chromium_org/components/search_provider_logos/
Dgoogle_logo_api.cc78 base::RefCountedString* encoded_image_string = new base::RefCountedString(); in GoogleParseLogoResponse()
/external/chromium_org/ui/base/dragdrop/
Dos_exchange_data_provider_aurax11.cc121 base::RefCountedString::TakeString(&empty))); in MarkOriginatedFromRenderer()
135 base::RefCountedString::TakeString(&utf8)); in SetString()
180 base::RefCountedString::TakeString(&netscape_url))); in SetURL()
203 base::RefCountedString::TakeString(&joined_data)); in SetFilenames()
447 base::RefCountedString::TakeString(&failure))); in SetFileContents()
452 base::RefCountedString::TakeString(&file_contents_copy))); in SetFileContents()

1234