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

Unified Diff: content/public/common/favicon_url.h

Issue 11411180: move favicon download code from chrome/ into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix order Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/public/common/favicon_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/favicon_url.h
diff --git a/chrome/common/favicon_url.h b/content/public/common/favicon_url.h
similarity index 71%
rename from chrome/common/favicon_url.h
rename to content/public/common/favicon_url.h
index 4da256be85bd1d4ca25c43635ec3a87270a2079f..b1d13cbfb8218afa941d0e58d5928066c855aeff 100644
--- a/chrome/common/favicon_url.h
+++ b/content/public/common/favicon_url.h
@@ -2,13 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_FAVICON_URL_
-#define CHROME_COMMON_FAVICON_URL_
+#ifndef CONTENT_PUBLIC_COMMON_FAVICON_URL_
+#define CONTENT_PUBLIC_COMMON_FAVICON_URL_
+#include "content/common/content_export.h"
#include "googleurl/src/gurl.h"
+namespace content {
+
// The favicon url from the render.
-struct FaviconURL {
+struct CONTENT_EXPORT FaviconURL {
// The icon type in a page. The definition must be same as history::IconType.
enum IconType {
INVALID_ICON = 0x0,
@@ -28,4 +31,6 @@ struct FaviconURL {
IconType icon_type;
};
-#endif // CHROME_COMMON_FAVICON_URL_
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_FAVICON_URL_
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/public/common/favicon_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698