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

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, 4 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 gfx::Image GetFavicon() const override; 42 gfx::Image GetFavicon() const override;
43 bool FaviconIsValid() const override; 43 bool FaviconIsValid() const override;
44 int StartDownload(const GURL& url, int max_bitmap_size) override; 44 int StartDownload(const GURL& url, int max_bitmap_size) override;
45 bool IsOffTheRecord() override; 45 bool IsOffTheRecord() override;
46 GURL GetActiveURL() override; 46 GURL GetActiveURL() override;
47 bool GetActiveFaviconValidity() override; 47 bool GetActiveFaviconValidity() override;
48 void SetActiveFaviconValidity(bool valid) override; 48 void SetActiveFaviconValidity(bool valid) override;
49 GURL GetActiveFaviconURL() override; 49 GURL GetActiveFaviconURL() override;
50 void SetActiveFaviconURL(const GURL& url) override; 50 void SetActiveFaviconURL(const GURL& url) override;
51 void SetActiveFaviconImage(const gfx::Image& image) override; 51 void SetActiveFaviconImage(const gfx::Image& image) override;
52 bool ShouldSendFaviconAvailableNotifications() override;
52 53
53 protected: 54 protected:
54 ContentFaviconDriver(content::WebContents* web_contents, 55 ContentFaviconDriver(content::WebContents* web_contents,
55 FaviconService* favicon_service, 56 FaviconService* favicon_service,
56 history::HistoryService* history_service, 57 history::HistoryService* history_service,
57 bookmarks::BookmarkModel* bookmark_model); 58 bookmarks::BookmarkModel* bookmark_model);
58 ~ContentFaviconDriver() override; 59 ~ContentFaviconDriver() override;
59 60
60 private: 61 private:
61 friend class content::WebContentsUserData<ContentFaviconDriver>; 62 friend class content::WebContentsUserData<ContentFaviconDriver>;
(...skipping 16 matching lines...) Expand all
78 79
79 GURL bypass_cache_page_url_; 80 GURL bypass_cache_page_url_;
80 std::vector<content::FaviconURL> favicon_urls_; 81 std::vector<content::FaviconURL> favicon_urls_;
81 82
82 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); 83 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver);
83 }; 84 };
84 85
85 } // namespace favicon 86 } // namespace favicon
86 87
87 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ 88 #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/ios/web_favicon_driver.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698