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 #include "chrome/browser/ui/webui/chromeos/login/kiosk_enable_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/kiosk_enable_screen_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/common/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 #include "content/public/browser/notification_details.h" | 12 #include "content/public/browser/notification_details.h" |
13 #include "content/public/browser/notification_service.h" | 13 #include "content/public/browser/notification_service.h" |
14 #include "grit/browser_resources.h" | 14 #include "grit/browser_resources.h" |
15 #include "grit/generated_resources.h" | 15 #include "grit/generated_resources.h" |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 // Reset screen id. | 19 // Reset screen id. |
20 const char kKioskEnableScreen[] = "kiosk-enable"; | 20 const char kKioskEnableScreen[] = "kiosk-enable"; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 value); | 135 value); |
136 if (success) { | 136 if (success) { |
137 content::NotificationService::current()->Notify( | 137 content::NotificationService::current()->Notify( |
138 chrome::NOTIFICATION_KIOSK_ENABLED, | 138 chrome::NOTIFICATION_KIOSK_ENABLED, |
139 content::NotificationService::AllSources(), | 139 content::NotificationService::AllSources(), |
140 content::NotificationService::NoDetails()); | 140 content::NotificationService::NoDetails()); |
141 } | 141 } |
142 } | 142 } |
143 | 143 |
144 } // namespace chromeos | 144 } // namespace chromeos |
OLD | NEW |