| OLD | NEW |
| 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 "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/favicon/core/favicon_driver_impl.h" | 9 #include "components/favicon/core/favicon_driver_impl.h" |
| 10 #include "content/public/browser/reload_type.h" | 10 #include "content/public/browser/reload_type.h" |
| 11 #include "content/public/browser/web_contents_observer.h" | 11 #include "content/public/browser/web_contents_observer.h" |
| 12 #include "content/public/browser/web_contents_user_data.h" | 12 #include "content/public/browser/web_contents_user_data.h" |
| 13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 struct FaviconStatus; | |
| 17 struct FaviconURL; | 16 struct FaviconURL; |
| 18 class WebContents; | 17 class WebContents; |
| 19 } | 18 } |
| 20 | 19 |
| 21 namespace favicon { | 20 namespace favicon { |
| 22 | 21 |
| 23 // ContentFaviconDriver is an implementation of FaviconDriver that listens to | 22 // ContentFaviconDriver is an implementation of FaviconDriver that listens to |
| 24 // WebContents events to start download of favicons and to get informed when the | 23 // WebContents events to start download of favicons and to get informed when the |
| 25 // favicon download has completed. | 24 // favicon download has completed. |
| 26 class ContentFaviconDriver | 25 class ContentFaviconDriver |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 79 |
| 81 GURL bypass_cache_page_url_; | 80 GURL bypass_cache_page_url_; |
| 82 std::vector<content::FaviconURL> favicon_urls_; | 81 std::vector<content::FaviconURL> favicon_urls_; |
| 83 | 82 |
| 84 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); | 83 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); |
| 85 }; | 84 }; |
| 86 | 85 |
| 87 } // namespace favicon | 86 } // namespace favicon |
| 88 | 87 |
| 89 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ | 88 #endif // COMPONENTS_FAVICON_CONTENT_CONTENT_FAVICON_DRIVER_H_ |
| OLD | NEW |