blob: 569752dc6bf09e1ea0a427b7783820e5e0acc347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// 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_
|