Home
last modified time | relevance | path

Searched refs:str_url (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/ui/webui/
Dweb_ui_util.cc18 std::string str_url; in GetImageDataUrl() local
19 str_url.insert(str_url.end(), output.begin(), output.end()); in GetImageDataUrl()
21 base::Base64Encode(str_url, &str_url); in GetImageDataUrl()
22 str_url.insert(0, "data:image/png;base64,"); in GetImageDataUrl()
23 return str_url; in GetImageDataUrl()
33 std::string str_url; in GetImageDataUrlFromResource() local
34 str_url.insert(str_url.end(), in GetImageDataUrlFromResource()
37 base::Base64Encode(str_url, &str_url); in GetImageDataUrlFromResource()
38 str_url.insert(0, "data:image/png;base64,"); in GetImageDataUrlFromResource()
39 return str_url; in GetImageDataUrlFromResource()
/external/chromium_org/ui/base/webui/
Dweb_ui_util.cc36 std::string str_url; in GetBitmapDataUrl() local
37 str_url.insert(str_url.end(), output.begin(), output.end()); in GetBitmapDataUrl()
39 base::Base64Encode(str_url, &str_url); in GetBitmapDataUrl()
40 str_url.insert(0, "data:image/png;base64,"); in GetBitmapDataUrl()
41 return str_url; in GetBitmapDataUrl()
52 std::string str_url; in GetBitmapDataUrlFromResource() local
53 str_url.insert(str_url.end(), in GetBitmapDataUrlFromResource()
56 base::Base64Encode(str_url, &str_url); in GetBitmapDataUrlFromResource()
57 str_url.insert(0, "data:image/png;base64,"); in GetBitmapDataUrlFromResource()
58 return str_url; in GetBitmapDataUrlFromResource()