OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_DOM_UI_WEB_UI_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_WEBUI_WEB_UI_FACTORY_H_ |
6 #define CHROME_BROWSER_DOM_UI_WEB_UI_FACTORY_H_ | 6 #define CHROME_BROWSER_WEBUI_WEB_UI_FACTORY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "chrome/browser/favicon_service.h" | 10 #include "chrome/browser/favicon_service.h" |
11 | 11 |
12 class WebUI; | 12 class WebUI; |
13 class GURL; | 13 class GURL; |
14 class Profile; | 14 class Profile; |
15 class RefCountedMemory; | 15 class RefCountedMemory; |
16 class TabContents; | 16 class TabContents; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 private: | 58 private: |
59 // Gets the data for the favicon for a WebUI page. Returns NULL if the WebUI | 59 // Gets the data for the favicon for a WebUI page. Returns NULL if the WebUI |
60 // does not have a favicon. | 60 // does not have a favicon. |
61 static RefCountedMemory* GetFaviconResourceBytes(Profile* profile, | 61 static RefCountedMemory* GetFaviconResourceBytes(Profile* profile, |
62 const GURL& page_url); | 62 const GURL& page_url); |
63 | 63 |
64 DISALLOW_IMPLICIT_CONSTRUCTORS(WebUIFactory); | 64 DISALLOW_IMPLICIT_CONSTRUCTORS(WebUIFactory); |
65 }; | 65 }; |
66 | 66 |
67 #endif // CHROME_BROWSER_DOM_UI_WEB_UI_FACTORY_H_ | 67 #endif // CHROME_BROWSER_WEBUI_WEB_UI_FACTORY_H_ |
OLD | NEW |