Chromium Code Reviews| Index: chrome/common/favicon_types.h |
| diff --git a/chrome/common/favicon_types.h b/chrome/common/favicon_types.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cea3c7046e67a46479109f6e84eaa4a8df2d8e59 |
| --- /dev/null |
| +++ b/chrome/common/favicon_types.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
|
sreeram
2013/06/04 22:01:56
No "(c)".
pedro (no code reviews)
2013/06/07 23:34:21
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_COMMON_FAVICON_TYPES_H_ |
| +#define CHROME_COMMON_FAVICON_TYPES_H_ |
| + |
| +namespace chrome { |
| + |
| +// Defines the icon types. They are also stored in icon_type field of favicons |
| +// table. |
| +// The values of the IconTypes are used to select the priority in which favicon |
| +// data is returned in HistoryBackend and ThumbnailDatabase. Data for the |
| +// largest IconType takes priority if data for multiple IconTypes is available. |
| +enum IconType { |
| + INVALID_ICON = 0x0, |
| + FAVICON = 1 << 0, |
| + TOUCH_ICON = 1 << 1, |
| + TOUCH_PRECOMPOSED_ICON = 1 << 2 |
| +}; |
| + |
| +} // namespace chrome |
| + |
| +#endif // CHROME_COMMON_FAVICON_TYPES_H_ |