OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:encoded_logo
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/components/search_provider_logos/
logo_tracker.cc
236
void LogoTracker::OnFreshLogoAvailable(scoped_ptr<EncodedLogo>
encoded_logo
,
240
if (
encoded_logo
&& !
encoded_logo
->encoded_image && cached_logo_ &&
241
!
encoded_logo
->metadata.fingerprint.empty() &&
242
encoded_logo
->metadata.fingerprint ==
245
SetCachedMetadata(
encoded_logo
->metadata);
246
} else if (
encoded_logo
&& image.isNull()) {
251
if (
encoded_logo
) {
254
logo->metadata =
encoded_logo
->metadata;
264
SetCachedLogo(
encoded_logo
.Pass())
[
all
...]
logo_tracker_unittest.cc
76
EncodedLogo
encoded_logo
;
local
77
encoded_logo
.encoded_image = EncodeBitmapAsPNG(logo.image);
78
encoded_logo
.metadata = logo.metadata;
79
return
encoded_logo
;
82
Logo DecodeLogo(const EncodedLogo&
encoded_logo
) {
85
encoded_logo
.encoded_image->front(),
86
encoded_logo
.encoded_image->size()).AsBitmap();
87
logo.metadata =
encoded_logo
.metadata;
203
EncodedLogo
encoded_logo
= EncodeLogo(logo);
local
204
SetCachedLogo(&
encoded_logo
);
[
all
...]
Completed in 8920 milliseconds