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

Side by Side Diff: components/favicon/content/content_favicon_driver.h

Issue 1272413002: Remove useless FaviconHandler::PageChangedSinceFaviconWasRequested() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ 5 #ifndef COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_
6 #define COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ 6 #define COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_
7 7
8 #include "components/favicon/core/favicon_driver_impl.h" 8 #include "components/favicon/core/favicon_driver_impl.h"
9 #include "content/public/browser/web_contents_observer.h" 9 #include "content/public/browser/web_contents_observer.h"
10 #include "content/public/browser/web_contents_user_data.h" 10 #include "content/public/browser/web_contents_user_data.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 gfx::Image GetFavicon() const override; 45 gfx::Image GetFavicon() const override;
46 bool FaviconIsValid() const override; 46 bool FaviconIsValid() const override;
47 int StartDownload(const GURL& url, int max_bitmap_size) override; 47 int StartDownload(const GURL& url, int max_bitmap_size) override;
48 bool IsOffTheRecord() override; 48 bool IsOffTheRecord() override;
49 GURL GetActiveURL() override; 49 GURL GetActiveURL() override;
50 bool GetActiveFaviconValidity() override; 50 bool GetActiveFaviconValidity() override;
51 void SetActiveFaviconValidity(bool valid) override; 51 void SetActiveFaviconValidity(bool valid) override;
52 GURL GetActiveFaviconURL() override; 52 GURL GetActiveFaviconURL() override;
53 void SetActiveFaviconURL(const GURL& url) override; 53 void SetActiveFaviconURL(const GURL& url) override;
54 void SetActiveFaviconImage(const gfx::Image& image) override; 54 void SetActiveFaviconImage(const gfx::Image& image) override;
55 bool ShouldSendFaviconAvailableNotifications() override;
55 56
56 protected: 57 protected:
57 ContentFaviconDriver(content::WebContents* web_contents, 58 ContentFaviconDriver(content::WebContents* web_contents,
58 FaviconService* favicon_service, 59 FaviconService* favicon_service,
59 history::HistoryService* history_service, 60 history::HistoryService* history_service,
60 bookmarks::BookmarkModel* bookmark_model); 61 bookmarks::BookmarkModel* bookmark_model);
61 ~ContentFaviconDriver() override; 62 ~ContentFaviconDriver() override;
62 63
63 private: 64 private:
64 friend class content::WebContentsUserData<ContentFaviconDriver>; 65 friend class content::WebContentsUserData<ContentFaviconDriver>;
(...skipping 16 matching lines...) Expand all
81 82
82 GURL bypass_cache_page_url_; 83 GURL bypass_cache_page_url_;
83 std::vector<content::FaviconURL> favicon_urls_; 84 std::vector<content::FaviconURL> favicon_urls_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); 86 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver);
86 }; 87 };
87 88
88 } // namespace favicon 89 } // namespace favicon
89 90
90 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ 91 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_
OLDNEW
« no previous file with comments | « no previous file | components/favicon/content/content_favicon_driver.cc » ('j') | components/favicon/core/favicon_driver.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698