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

Unified Diff: chrome/browser/dom_ui/web_ui_favicon_source.h

Issue 6546078: Makes a handful of DataSources not replace the existing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/dom_ui/web_ui_favicon_source.h
diff --git a/chrome/browser/dom_ui/web_ui_favicon_source.h b/chrome/browser/dom_ui/web_ui_favicon_source.h
index 1808128d124f24757e529e575c631261ed1317de..05007c15bd07774d7f2f5a7209a0b9a4f1401f79 100644
--- a/chrome/browser/dom_ui/web_ui_favicon_source.h
+++ b/chrome/browser/dom_ui/web_ui_favicon_source.h
@@ -30,6 +30,9 @@ class WebUIFavIconSource : public ChromeURLDataManager::DataSource {
virtual std::string GetMimeType(const std::string&) const;
+ virtual bool ShouldReplaceExistingSource() const;
+
+ private:
// Called when favicon data is available from the history backend.
void OnFavIconDataAvailable(FaviconService::Handle request_handle,
bool know_favicon,
@@ -37,7 +40,6 @@ class WebUIFavIconSource : public ChromeURLDataManager::DataSource {
bool expired,
GURL url);
- private:
// Sends the default favicon.
void SendDefaultResponse(int request_id);

Powered by Google App Engine
This is Rietveld 408576698