| // 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_ |