OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FLAGS_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/public/browser/web_ui_controller.h" | 9 #include "content/public/browser/web_ui_controller.h" |
10 | 10 |
11 class PrefService; | 11 class PrefService; |
| 12 |
| 13 namespace base { |
12 class RefCountedMemory; | 14 class RefCountedMemory; |
| 15 } |
13 | 16 |
14 class FlagsUI : public content::WebUIController { | 17 class FlagsUI : public content::WebUIController { |
15 public: | 18 public: |
16 explicit FlagsUI(content::WebUI* web_ui); | 19 explicit FlagsUI(content::WebUI* web_ui); |
17 | 20 |
18 static RefCountedMemory* GetFaviconResourceBytes(); | 21 static base::RefCountedMemory* GetFaviconResourceBytes(); |
19 static void RegisterPrefs(PrefService* prefs); | 22 static void RegisterPrefs(PrefService* prefs); |
20 | 23 |
21 private: | 24 private: |
22 DISALLOW_COPY_AND_ASSIGN(FlagsUI); | 25 DISALLOW_COPY_AND_ASSIGN(FlagsUI); |
23 }; | 26 }; |
24 | 27 |
25 #endif // CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ | 28 #endif // CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ |
OLD | NEW |