Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Side by Side Diff: components/search_provider_logos/logo_cache.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_CACHE_H_ 5 #ifndef COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_CACHE_H_
6 #define COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_CACHE_H_ 6 #define COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_CACHE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
14 #include "base/memory/ref_counted_memory.h" 15 #include "base/memory/ref_counted_memory.h"
15 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
16 #include "base/threading/thread_checker.h" 17 #include "base/threading/thread_checker.h"
17 #include "components/search_provider_logos/logo_common.h" 18 #include "components/search_provider_logos/logo_common.h"
18 19
19 namespace search_provider_logos { 20 namespace search_provider_logos {
20 21
21 // A file-based cache for the search provider's logo. This allows clients to 22 // A file-based cache for the search provider's logo. This allows clients to
22 // store and retrieve a logo (of type EncodedLogo) and its associated metadata 23 // store and retrieve a logo (of type EncodedLogo) and its associated metadata
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 117
117 // Ensure LogoCache is only used on a single thread. 118 // Ensure LogoCache is only used on a single thread.
118 base::ThreadChecker thread_checker_; 119 base::ThreadChecker thread_checker_;
119 120
120 DISALLOW_COPY_AND_ASSIGN(LogoCache); 121 DISALLOW_COPY_AND_ASSIGN(LogoCache);
121 }; 122 };
122 123
123 } // namespace search_provider_logos 124 } // namespace search_provider_logos
124 125
125 #endif // COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_CACHE_H_ 126 #endif // COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_CACHE_H_
OLDNEW
« no previous file with comments | « components/search_provider_logos/google_logo_api.cc ('k') | components/search_provider_logos/logo_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698