Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
index ee8a8a5a7919ff2a1738f7598320778269ef44bf..bc249e1ccd6569e61c5b12828061128f2f786fcb 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
@@ -81,22 +81,6 @@ const char kEnrollmentHTMLPath[] = "enrollment.html"; |
const char kEnrollmentCSSPath[] = "enrollment.css"; |
const char kEnrollmentJSPath[] = "enrollment.js"; |
-// Filter handler of chrome://oobe data source. |
-bool HandleRequestCallback( |
- const std::string& path, |
- const content::WebUIDataSource::GotDataCallback& callback) { |
- if (UserManager::Get()->IsUserLoggedIn() && |
- !UserManager::Get()->IsLoggedInAsStub() && |
- !ScreenLocker::default_screen_locker()) { |
- scoped_refptr<base::RefCountedBytes> empty_bytes = |
- new base::RefCountedBytes(); |
- callback.Run(empty_bytes.get()); |
- return true; |
- } |
- |
- return false; |
-} |
- |
// Creates a WebUIDataSource for chrome://oobe |
content::WebUIDataSource* CreateOobeUIDataSource( |
const base::DictionaryValue& localized_strings, |