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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/kiosk_enable_screen_handler.cc

Issue 514493002: Cleanup: Remove unneeded grit include in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grit_clean_chromium_strings_401588_a
Patch Set: rebase Created 6 years, 3 months 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 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/browser/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 "chrome/grit/generated_resources.h" 12 #include "chrome/grit/generated_resources.h"
13 #include "content/public/browser/notification_details.h" 13 #include "content/public/browser/notification_details.h"
14 #include "content/public/browser/notification_service.h" 14 #include "content/public/browser/notification_service.h"
15 #include "grit/browser_resources.h"
16 15
17 namespace { 16 namespace {
18 17
19 const char kJsScreenPath[] = "login.KioskEnableScreen"; 18 const char kJsScreenPath[] = "login.KioskEnableScreen";
20 19
21 // Reset screen id. 20 // Reset screen id.
22 const char kKioskEnableScreen[] = "kiosk-enable"; 21 const char kKioskEnableScreen[] = "kiosk-enable";
23 22
24 } // namespace 23 } // namespace
25 24
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 CallJS("onCompleted", success); 137 CallJS("onCompleted", success);
139 if (success) { 138 if (success) {
140 content::NotificationService::current()->Notify( 139 content::NotificationService::current()->Notify(
141 chrome::NOTIFICATION_KIOSK_ENABLED, 140 chrome::NOTIFICATION_KIOSK_ENABLED,
142 content::NotificationService::AllSources(), 141 content::NotificationService::AllSources(),
143 content::NotificationService::NoDetails()); 142 content::NotificationService::NoDetails());
144 } 143 }
145 } 144 }
146 145
147 } // namespace chromeos 146 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698