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

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

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_TRACKER_H_ 5 #ifndef COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_TRACKER_H_
6 #define COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_TRACKER_H_ 6 #define COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_TRACKER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Called when the logo has been downloaded and parsed. |logo| will be NULL 165 // Called when the logo has been downloaded and parsed. |logo| will be NULL
166 // if the server's response was invalid. 166 // if the server's response was invalid.
167 void OnFreshLogoParsed(scoped_ptr<EncodedLogo> logo); 167 void OnFreshLogoParsed(scoped_ptr<EncodedLogo> logo);
168 168
169 // Called when the fresh logo has been decoded into an SkBitmap. |image| will 169 // Called when the fresh logo has been decoded into an SkBitmap. |image| will
170 // be NULL if decoding failed. 170 // be NULL if decoding failed.
171 void OnFreshLogoAvailable(scoped_ptr<EncodedLogo> logo, 171 void OnFreshLogoAvailable(scoped_ptr<EncodedLogo> logo,
172 const SkBitmap& image); 172 const SkBitmap& image);
173 173
174 // net::URLFetcherDelegate: 174 // net::URLFetcherDelegate:
175 virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; 175 virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
176 virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source, 176 virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source,
177 int64 current, 177 int64 current,
178 int64 total) OVERRIDE; 178 int64 total) override;
179 179
180 // The URL from which the logo is fetched. 180 // The URL from which the logo is fetched.
181 GURL logo_url_; 181 GURL logo_url_;
182 182
183 // The function used to parse the logo response from the server. 183 // The function used to parse the logo response from the server.
184 ParseLogoResponse parse_logo_response_func_; 184 ParseLogoResponse parse_logo_response_func_;
185 185
186 // The function used to include the cached logo's fingerprint in the logo URL. 186 // The function used to include the cached logo's fingerprint in the logo URL.
187 AppendFingerprintToLogoURL append_fingerprint_func_; 187 AppendFingerprintToLogoURL append_fingerprint_func_;
188 188
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; 224 scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
225 225
226 base::WeakPtrFactory<LogoTracker> weak_ptr_factory_; 226 base::WeakPtrFactory<LogoTracker> weak_ptr_factory_;
227 227
228 DISALLOW_COPY_AND_ASSIGN(LogoTracker); 228 DISALLOW_COPY_AND_ASSIGN(LogoTracker);
229 }; 229 };
230 230
231 } // namespace search_provider_logos 231 } // namespace search_provider_logos
232 232
233 #endif // COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_TRACKER_H_ 233 #endif // COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_TRACKER_H_
OLDNEW
« no previous file with comments | « components/search_provider_logos/logo_cache_unittest.cc ('k') | components/search_provider_logos/logo_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698