OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LogoMetadata
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/components/search_provider_logos/
logo_common.cc
11
LogoMetadata
::
LogoMetadata
() : can_show_after_expiration(false) {}
12
LogoMetadata
::~
LogoMetadata
() {}
logo_common.h
20
struct
LogoMetadata
{
21
LogoMetadata
();
22
~
LogoMetadata
();
55
LogoMetadata
metadata;
65
LogoMetadata
metadata;
logo_cache.h
23
// (of type
LogoMetadata
). Metadata can be updated independently from the logo
43
virtual void UpdateCachedLogoMetadata(const
LogoMetadata
& metadata);
46
virtual const
LogoMetadata
* GetCachedLogoMetadata();
64
// Converts string |str| to a
LogoMetadata
object and returns it. Returns NULL
66
static scoped_ptr<
LogoMetadata
> LogoMetadataFromString(
70
static void LogoMetadataToString(const
LogoMetadata
& metadata,
81
void UpdateMetadata(scoped_ptr<
LogoMetadata
> metadata);
109
scoped_ptr<
LogoMetadata
> metadata_;
logo_cache.cc
61
void LogoCache::UpdateCachedLogoMetadata(const
LogoMetadata
& metadata) {
66
UpdateMetadata(make_scoped_ptr(new
LogoMetadata
(metadata)));
70
const
LogoMetadata
* LogoCache::GetCachedLogoMetadata() {
78
scoped_ptr<
LogoMetadata
> metadata;
80
metadata.reset(new
LogoMetadata
(logo->metadata));
97
UpdateMetadata(scoped_ptr<
LogoMetadata
>());
104
UpdateMetadata(scoped_ptr<
LogoMetadata
>());
115
scoped_ptr<
LogoMetadata
> LogoCache::LogoMetadataFromString(
120
return scoped_ptr<
LogoMetadata
>();
122
scoped_ptr<
LogoMetadata
> metadata(new LogoMetadata())
[
all
...]
logo_cache_unittest.cc
19
LogoMetadata
GetExampleMetadata() {
20
LogoMetadata
metadata;
32
LogoMetadata
GetExampleMetadata2() {
33
LogoMetadata
metadata;
68
void ExpectMetadataEqual(const
LogoMetadata
& expected_metadata,
69
const
LogoMetadata
& actual_metadata) {
108
void ExpectMetadata(const
LogoMetadata
* expected_metadata) {
109
const
LogoMetadata
* retrieved_metadata = cache_->GetCachedLogoMetadata();
141
LogoMetadata
metadata = GetExampleMetadata();
145
scoped_ptr<
LogoMetadata
> metadata2
[
all
...]
logo_tracker.h
153
void OnCachedLogoAvailable(const
LogoMetadata
& metadata,
160
void SetCachedMetadata(const
LogoMetadata
& metadata);
logo_tracker.cc
29
bool IsLogoOkToShow(const
LogoMetadata
& metadata, base::Time now) {
47
const
LogoMetadata
* metadata = logo_cache->GetCachedLogoMetadata();
163
OnCachedLogoAvailable(
LogoMetadata
(), SkBitmap());
167
void LogoTracker::OnCachedLogoAvailable(const
LogoMetadata
& metadata,
190
void LogoTracker::SetCachedMetadata(const
LogoMetadata
& metadata) {
logo_tracker_unittest.cc
193
MOCK_METHOD1(UpdateCachedLogoMetadata, void(const
LogoMetadata
& metadata));
194
MOCK_METHOD0(GetCachedLogoMetadata, const
LogoMetadata
*());
212
void UpdateCachedLogoMetadataInternal(const
LogoMetadata
& metadata) {
213
metadata_.reset(new
LogoMetadata
(metadata));
216
virtual const
LogoMetadata
* GetCachedLogoMetadataInternal() {
222
metadata_.reset(logo ? new
LogoMetadata
(logo->metadata) : NULL);
231
scoped_ptr<
LogoMetadata
> metadata_;
528
const
LogoMetadata
* cached_metadata =
542
const
LogoMetadata
* cached_metadata =
Completed in 73 milliseconds