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

Side by Side Diff: content/public/browser/favicon_status.h

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_
6 #define CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ 6 #define CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "googleurl/src/gurl.h"
10 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image.h"
10 #include "url/gurl.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // Collects the favicon related information for a NavigationEntry. 14 // Collects the favicon related information for a NavigationEntry.
15 struct CONTENT_EXPORT FaviconStatus { 15 struct CONTENT_EXPORT FaviconStatus {
16 FaviconStatus(); 16 FaviconStatus();
17 17
18 // Indicates whether we've gotten an official favicon for the page, or are 18 // Indicates whether we've gotten an official favicon for the page, or are
19 // just using the default favicon. 19 // just using the default favicon.
20 bool valid; 20 bool valid;
21 21
22 // The URL of the favicon which was used to load it off the web. 22 // The URL of the favicon which was used to load it off the web.
23 GURL url; 23 GURL url;
24 24
25 // The favicon bitmap for the page. If the favicon has not been explicitly 25 // The favicon bitmap for the page. If the favicon has not been explicitly
26 // set or it empty, it will return the default favicon. Note that this is 26 // set or it empty, it will return the default favicon. Note that this is
27 // loaded asynchronously, so even if the favicon URL is valid we may return 27 // loaded asynchronously, so even if the favicon URL is valid we may return
28 // the default favicon if we haven't gotten the data yet. 28 // the default favicon if we haven't gotten the data yet.
29 gfx::Image image; 29 gfx::Image image;
30 30
31 // Copy and assignment is explicitly allowed for this struct. 31 // Copy and assignment is explicitly allowed for this struct.
32 }; 32 };
33 33
34 } // namespace content 34 } // namespace content
35 35
36 #endif // CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ 36 #endif // CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_
OLDNEW
« no previous file with comments | « content/public/browser/download_url_parameters.cc ('k') | content/public/browser/indexed_db_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698