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

Unified Diff: chrome/browser/favicon/favicon_download_helper_delegate.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 | « chrome/browser/favicon/favicon_download_helper.cc ('k') | chrome/browser/favicon/favicon_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/favicon/favicon_download_helper_delegate.h
diff --git a/chrome/browser/favicon/favicon_download_helper_delegate.h b/chrome/browser/favicon/favicon_download_helper_delegate.h
deleted file mode 100644
index ebdb5c2db312ecf82c4e795c3e94e837279504ba..0000000000000000000000000000000000000000
--- a/chrome/browser/favicon/favicon_download_helper_delegate.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_FAVICON_FAVICON_DOWNLOAD_HELPER_DELEGATE_H_
-#define CHROME_BROWSER_FAVICON_FAVICON_DOWNLOAD_HELPER_DELEGATE_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-
-class GURL;
-class SkBitmap;
-struct FaviconURL;
-
-// This class provides a delegate interface for a FaviconDownloadHelper. It
-// allows the FaviconDownloadHelper to pass favicon data back to its caller.
-class FaviconDownloadHelperDelegate {
- public:
- // Called when the icon at |image_url| has been downloaded.
- // |bitmaps| is a list of all the frames of the icon at |image_url|.
- virtual void OnDidDownloadFavicon(
- int id,
- const GURL& image_url,
- bool errored,
- int requested_size,
- const std::vector<SkBitmap>& bitmaps) {}
-
- // Message Handler.
- virtual void OnUpdateFaviconURL(
- int32 page_id,
- const std::vector<FaviconURL>& candidates) {}
-
- protected:
- virtual ~FaviconDownloadHelperDelegate() {}
-};
-
-#endif // CHROME_BROWSER_FAVICON_FAVICON_DOWNLOAD_HELPER_DELEGATE_H_
« no previous file with comments | « chrome/browser/favicon/favicon_download_helper.cc ('k') | chrome/browser/favicon/favicon_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698