Home | History | Annotate | Download | only in ash

Lines Matching defs:png_data

68 void CopyScreenshotToClipboard(scoped_refptr<base::RefCountedString> png_data) {
72 base::Base64Encode(png_data->data(), &encoded);
91 scoped_refptr<base::RefCountedString> png_data(new base::RefCountedString());
92 if (!base::ReadFileToString(screenshot_path, &(png_data->data()))) {
100 base::Bind(CopyScreenshotToClipboard, png_data));
188 scoped_refptr<base::RefCountedBytes> png_data) {
195 reinterpret_cast<char*>(&(png_data->data()[0])),
196 png_data->size())) != png_data->size()) {
207 scoped_refptr<base::RefCountedBytes> png_data) {
221 SaveScreenshotInternal(callback, screenshot_path, screenshot_path, png_data);
228 scoped_refptr<base::RefCountedBytes> png_data,
243 SaveScreenshotInternal(callback, screenshot_path, local_path, png_data);
250 scoped_refptr<base::RefCountedBytes> png_data,
262 png_data));
274 scoped_refptr<base::RefCountedBytes> png_data) {
283 png_data));
289 png_data));
296 scoped_refptr<base::RefCountedBytes> png_data) {
301 png_data));
555 scoped_refptr<base::RefCountedBytes> png_data) {
556 if (!png_data) {
575 png_data);