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

Unified Diff: content/renderer/favicon_helper.h

Issue 11411180: move favicon download code from chrome/ into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WebContentsObserver and callback 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
Index: content/renderer/favicon_helper.h
diff --git a/chrome/renderer/favicon_helper.h b/content/renderer/favicon_helper.h
similarity index 88%
rename from chrome/renderer/favicon_helper.h
rename to content/renderer/favicon_helper.h
index aeccd28a804497a88616f41d2a6898aa9a764579..985c6805292e6e7caf1167113a374a13b3337aec 100644
--- a/chrome/renderer/favicon_helper.h
+++ b/content/renderer/favicon_helper.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_RENDERER_FAVICON_HELPER_H_
-#define CHROME_RENDERER_FAVICON_HELPER_H_
+#ifndef CONTENT_RENDERER_FAVICON_HELPER_H_
+#define CONTENT_RENDERER_FAVICON_HELPER_H_
#include <string>
#include <vector>
@@ -13,18 +13,25 @@
#include "content/public/renderer/render_view_observer.h"
#include "googleurl/src/gurl.h"
-struct FaviconURL;
class SkBitmap;
+namespace content {
+struct FaviconURL;
+}
+
namespace webkit_glue {
class MultiResolutionImageResourceFetcher;
}
+namespace content {
+
+struct FaviconURL;
+
// This class deals with favicon downloading.
// There is one FaviconHelper per RenderView, which is owned by the RenderView.
-class FaviconHelper : public content::RenderViewObserver {
+class FaviconHelper : public RenderViewObserver {
public:
- explicit FaviconHelper(content::RenderView* render_view);
+ explicit FaviconHelper(RenderView* render_view);
private:
virtual ~FaviconHelper();
@@ -72,4 +79,6 @@ class FaviconHelper : public content::RenderViewObserver {
DISALLOW_COPY_AND_ASSIGN(FaviconHelper);
};
-#endif // CHROME_RENDERER_FAVICON_HELPER_H_
+} // namespace content
+
+#endif // CONTENT_RENDERER_FAVICON_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698