| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_ |
| #define COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_ |
| |
| #include <string> |
| |
| #include "base/memory/scoped_ptr.h" |
| #include "base/time/time.h" |
| #include "components/search_provider_logos/logo_common.h" |
| #include "url/gurl.h" |
| |
| namespace search_provider_logos { |
| |
| // Implements AppendFingerprintToLogoURL, defined in logo_tracker.h, for Google |
| // doodles. |
| GURL GoogleAppendFingerprintToLogoURL(const GURL& logo_url, |
| const std::string& fingerprint); |
| |
| // Implements ParseLogoResponse, defined in logo_tracker.h, for Google doodles. |
| scoped_ptr<EncodedLogo> GoogleParseLogoResponse( |
| const scoped_ptr<std::string>& response, |
| base::Time response_time); |
| |
| } // namespace search_provider_logos |
| |
| #endif // COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_ |