Roll src/third_party/WebKit 6b63e20:35e1984 (svn 201060:201061)
[chromium-blink-merge.git] / components / search_provider_logos / google_logo_api.h
blob84e41948becbfc04a0eeb407e7a98857cb3c5499
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_
6 #define COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_
8 #include <string>
10 #include "base/memory/scoped_ptr.h"
11 #include "base/time/time.h"
12 #include "components/search_provider_logos/logo_common.h"
13 #include "url/gurl.h"
15 namespace search_provider_logos {
17 // Implements AppendFingerprintToLogoURL, defined in logo_tracker.h, for Google
18 // doodles.
19 GURL GoogleAppendQueryparamsToLogoURL(const GURL& logo_url,
20 const std::string& fingerprint,
21 bool wants_cta);
23 // Implements ParseLogoResponse, defined in logo_tracker.h, for Google doodles.
24 scoped_ptr<EncodedLogo> GoogleParseLogoResponse(
25 const scoped_ptr<std::string>& response,
26 base::Time response_time);
28 } // namespace search_provider_logos
30 #endif // COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_