summaryrefslogtreecommitdiffstats
path: root/components/favicon/core/fallback_url_util.h
blob: b95e6a58d965a85bd120eaec209814892496d9ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2015 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_FAVICON_CORE_FALLBACK_URL_UTIL_H_
#define COMPONENTS_FAVICON_CORE_FALLBACK_URL_UTIL_H_

#include "base/strings/string16.h"

class GURL;

namespace favicon {

// Returns a very short string (e.g., capitalized first letter in a domain's
// name) to represent |url|.
base::string16 GetFallbackIconText(const GURL& url);

}  // namespace favicon

#endif  // COMPONENTS_FAVICON_CORE_FALLBACK_URL_UTIL_H_