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

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

Issue 1066923002: [LogoTracker] Correct fingerprint append in async parameter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change append_fingerprint_func_ to append_queryparams_func_. Created 5 years, 8 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_GOOGLE_LOGO_API_H_ 5 #ifndef COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_
6 #define COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_ 6 #define COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "components/search_provider_logos/logo_common.h" 12 #include "components/search_provider_logos/logo_common.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace search_provider_logos { 15 namespace search_provider_logos {
16 16
17 // Implements AppendFingerprintToLogoURL, defined in logo_tracker.h, for Google 17 // Implements AppendFingerprintToLogoURL, defined in logo_tracker.h, for Google
18 // doodles. 18 // doodles.
19 GURL GoogleAppendFingerprintToLogoURL(const GURL& logo_url, 19 GURL GoogleAppendQueryparamsToLogoURL(const GURL& logo_url,
20 const std::string& fingerprint); 20 const std::string& fingerprint,
21 bool wants_cta);
21 22
22 // Implements ParseLogoResponse, defined in logo_tracker.h, for Google doodles. 23 // Implements ParseLogoResponse, defined in logo_tracker.h, for Google doodles.
23 scoped_ptr<EncodedLogo> GoogleParseLogoResponse( 24 scoped_ptr<EncodedLogo> GoogleParseLogoResponse(
24 const scoped_ptr<std::string>& response, 25 const scoped_ptr<std::string>& response,
25 base::Time response_time); 26 base::Time response_time);
26 27
27 } // namespace search_provider_logos 28 } // namespace search_provider_logos
28 29
29 #endif // COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_ 30 #endif // COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698