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

Side by Side Diff: chrome/browser/ui/webui/flags_ui.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 (c) 2012 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 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "content/public/browser/web_ui_controller.h" 11 #include "content/public/browser/web_ui_controller.h"
12 #include "ui/base/layout.h" 12 #include "ui/base/layout.h"
13 13
14 #if defined(OS_CHROMEOS) 14 #if defined(OS_CHROMEOS)
15 #include "chrome/browser/chromeos/settings/device_settings_service.h" 15 #include "chrome/browser/chromeos/settings/device_settings_service.h"
16 #endif 16 #endif
17 17
18 class PrefRegistrySimple;
19 class Profile;
20
21 namespace base { 18 namespace base {
22 class RefCountedMemory; 19 class RefCountedMemory;
23 } 20 }
24 21
25 namespace user_prefs {
26 class PrefRegistrySyncable;
27 }
28
29 class FlagsUI : public content::WebUIController { 22 class FlagsUI : public content::WebUIController {
30 public: 23 public:
31 explicit FlagsUI(content::WebUI* web_ui); 24 explicit FlagsUI(content::WebUI* web_ui);
32 ~FlagsUI() override; 25 ~FlagsUI() override;
33 26
34 static base::RefCountedMemory* GetFaviconResourceBytes( 27 static base::RefCountedMemory* GetFaviconResourceBytes(
35 ui::ScaleFactor scale_factor); 28 ui::ScaleFactor scale_factor);
36 29
37 private: 30 private:
38 base::WeakPtrFactory<FlagsUI> weak_factory_; 31 base::WeakPtrFactory<FlagsUI> weak_factory_;
39 32
40 DISALLOW_COPY_AND_ASSIGN(FlagsUI); 33 DISALLOW_COPY_AND_ASSIGN(FlagsUI);
41 }; 34 };
42 35
43 #endif // CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ 36 #endif // CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h ('k') | chrome/browser/ui/webui/foreign_session_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698