Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Side by Side Diff: chrome/common/favicon_url.h

Issue 6883020: Make icon_messages use the IPC macros for defining the structs and the serialization code, and mo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/common/favicon_url.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_COMMON_FAVICON_URL_
6 #define CHROME_COMMON_FAVICON_URL_
7 #pragma once
8
9 #include "googleurl/src/gurl.h"
10
11 // The favicon url from the render.
12 struct FaviconURL {
13 // The icon type in a page. The definition must be same as history::IconType.
14 enum IconType {
15 INVALID_ICON = 0x0,
16 FAVICON = 1 << 0,
17 TOUCH_ICON = 1 << 1,
18 TOUCH_PRECOMPOSED_ICON = 1 << 2
19 };
20
21 FaviconURL();
22 FaviconURL(const GURL& url, IconType type);
23 ~FaviconURL();
24
25 // The url of the icon.
26 GURL icon_url;
27
28 // The type of the icon
29 IconType icon_type;
30 };
31
32 #endif // CHROME_COMMON_FAVICON_URL_
OLDNEW
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/common/favicon_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698