OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_H_ |
7 | 7 |
8 #include "components/user_prefs/pref_registry_syncable.h" | 8 #include "components/pref_registry/pref_registry_syncable.h" |
9 #include "content/public/browser/web_ui_controller.h" | 9 #include "content/public/browser/web_ui_controller.h" |
10 | 10 |
11 class LocalDiscoveryUI : public content::WebUIController { | 11 class LocalDiscoveryUI : public content::WebUIController { |
12 public: | 12 public: |
13 explicit LocalDiscoveryUI(content::WebUI* web_ui); | 13 explicit LocalDiscoveryUI(content::WebUI* web_ui); |
14 | 14 |
15 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 15 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
16 private: | 16 private: |
17 DISALLOW_COPY_AND_ASSIGN(LocalDiscoveryUI); | 17 DISALLOW_COPY_AND_ASSIGN(LocalDiscoveryUI); |
18 }; | 18 }; |
19 | 19 |
20 #endif // CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_H_ | 20 #endif // CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_H_ |
OLD | NEW |