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_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 14 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
15 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h" | 15 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h" |
16 #include "chrome/browser/chromeos/login/screens/network_error.h" | 16 #include "chrome/browser/chromeos/login/screens/network_error.h" |
17 #include "chrome/browser/ui/webui/chromeos/login/network_state_informer.h" | 17 #include "chrome/browser/ui/webui/chromeos/login/network_state_informer.h" |
18 #include "content/public/browser/web_ui_message_handler.h" | 18 #include "content/public/browser/web_ui_message_handler.h" |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 | 21 |
22 // KioskAppMenuHandler supplies kiosk apps data to apps menu on sign-in | 22 // KioskAppMenuHandler supplies kiosk apps data to apps menu on sign-in |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 scoped_refptr<NetworkStateInformer> network_state_informer_; | 62 scoped_refptr<NetworkStateInformer> network_state_informer_; |
63 | 63 |
64 base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_; | 64 base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(KioskAppMenuHandler); | 66 DISALLOW_COPY_AND_ASSIGN(KioskAppMenuHandler); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace chromeos | 69 } // namespace chromeos |
70 | 70 |
71 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ | 71 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_APP_MENU_HANDLER_H_ |
OLD | NEW |