| 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 CHROME_BROWSER_UI_WEBUI_FALLBACK_ICON_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_FALLBACK_ICON_SOURCE_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_FALLBACK_ICON_SOURCE_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_FALLBACK_ICON_SOURCE_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <string> | 9 #include <string> |
| 9 | 10 |
| 10 #include "base/macros.h" | 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | |
| 12 #include "content/public/browser/url_data_source.h" | 12 #include "content/public/browser/url_data_source.h" |
| 13 | 13 |
| 14 class GURL; | 14 class GURL; |
| 15 | 15 |
| 16 namespace favicon_base { | 16 namespace favicon_base { |
| 17 struct FallbackIconStyle; | 17 struct FallbackIconStyle; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace favicon { | 20 namespace favicon { |
| 21 class FallbackIconService; | 21 class FallbackIconService; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // Sends the default fallback icon. | 80 // Sends the default fallback icon. |
| 81 void SendDefaultResponse( | 81 void SendDefaultResponse( |
| 82 const content::URLDataSource::GotDataCallback& callback); | 82 const content::URLDataSource::GotDataCallback& callback); |
| 83 | 83 |
| 84 favicon::FallbackIconService* fallback_icon_service_; | 84 favicon::FallbackIconService* fallback_icon_service_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(FallbackIconSource); | 86 DISALLOW_COPY_AND_ASSIGN(FallbackIconSource); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 #endif // CHROME_BROWSER_UI_WEBUI_FALLBACK_ICON_SOURCE_H_ | 89 #endif // CHROME_BROWSER_UI_WEBUI_FALLBACK_ICON_SOURCE_H_ |
| OLD | NEW |