Extract SIGPIPE ignoring code to a common place.
[chromium-blink-merge.git] / chrome / common / favicon_url.h
blob4da256be85bd1d4ca25c43635ec3a87270a2079f
1 // Copyright (c) 2011 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 CHROME_COMMON_FAVICON_URL_
6 #define CHROME_COMMON_FAVICON_URL_
8 #include "googleurl/src/gurl.h"
10 // The favicon url from the render.
11 struct FaviconURL {
12 // The icon type in a page. The definition must be same as history::IconType.
13 enum IconType {
14 INVALID_ICON = 0x0,
15 FAVICON = 1 << 0,
16 TOUCH_ICON = 1 << 1,
17 TOUCH_PRECOMPOSED_ICON = 1 << 2
20 FaviconURL();
21 FaviconURL(const GURL& url, IconType type);
22 ~FaviconURL();
24 // The url of the icon.
25 GURL icon_url;
27 // The type of the icon
28 IconType icon_type;
31 #endif // CHROME_COMMON_FAVICON_URL_