OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LogoCache
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/components/search_provider_logos/
logo_cache.cc
49
LogoCache
::
LogoCache
(const base::FilePath& cache_directory)
52
// The
LogoCache
can be constructed on any thread, as long as it's used
57
LogoCache
::~
LogoCache
() {
61
void
LogoCache
::UpdateCachedLogoMetadata(const LogoMetadata& metadata) {
70
const LogoMetadata*
LogoCache
::GetCachedLogoMetadata() {
76
void
LogoCache
::SetCachedLogo(const EncodedLogo* logo) {
87
scoped_ptr<EncodedLogo>
LogoCache
::GetCachedLogo() {
115
scoped_ptr<LogoMetadata>
LogoCache
::LogoMetadataFromString
[
all
...]
logo_cache.h
35
class
LogoCache
{
39
explicit
LogoCache
(const base::FilePath& cache_directory);
40
virtual ~
LogoCache
();
117
// Ensure
LogoCache
is only used on a single thread.
120
DISALLOW_COPY_AND_ASSIGN(
LogoCache
);
logo_cache_unittest.cc
104
cache_.reset(new
LogoCache
(
128
// Deletes the existing
LogoCache
and creates a new one. This clears any
134
scoped_ptr<
LogoCache
> cache_;
144
LogoCache
::LogoMetadataToString(metadata, logo_num_bytes, &metadata_str);
146
LogoCache
::LogoMetadataFromString(metadata_str, &logo_num_bytes);
154
LogoCache
::LogoMetadataFromString("", &logo_num_bytes);
159
LogoCache
::LogoMetadataToString(
162
metadata =
LogoCache
::LogoMetadataFromString(corrupt_str, &logo_num_bytes);
logo_tracker.cc
44
scoped_ptr<EncodedLogo> GetLogoFromCacheOnFileThread(
LogoCache
* logo_cache,
60
void DeleteLogoCacheOnFileThread(
LogoCache
* logo_cache) {
75
logo_cache_(new
LogoCache
(cached_logo_directory)),
127
void LogoTracker::SetLogoCacheForTests(scoped_ptr<
LogoCache
> cache) {
185
base::Bind(&
LogoCache
::SetCachedLogo,
192
base::Bind(&
LogoCache
::UpdateCachedLogoMetadata,
logo_tracker.h
137
void SetLogoCacheForTests(scoped_ptr<
LogoCache
> cache);
212
LogoCache
* logo_cache_;
logo_tracker_unittest.cc
181
class MockLogoCache : public
LogoCache
{
183
MockLogoCache() :
LogoCache
(base::FilePath()) {
312
logo_tracker_->SetLogoCacheForTests(scoped_ptr<
LogoCache
>(logo_cache_));
Completed in 189 milliseconds