| 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/screenlock_icon_source.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/login/screen_locker.h" | 7 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
| 8 #include "chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.h" | 8 #include "chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.h" |
| 9 #include "chrome/common/url_constants.h" | 9 #include "chrome/common/url_constants.h" |
| 10 #include "net/base/escape.h" | 10 #include "net/base/escape.h" |
| 11 | 11 |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 gfx::Image GetDefaultIcon() { | 14 gfx::Image GetDefaultIcon() { |
| 15 return gfx::Image(); | 15 return gfx::Image(); |
| 16 } | 16 } |
| 17 | 17 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 } | 62 } |
| 63 | 63 |
| 64 // static. | 64 // static. |
| 65 std::string ScreenlockIconSource::GetIconURLForUser( | 65 std::string ScreenlockIconSource::GetIconURLForUser( |
| 66 const std::string& username) { | 66 const std::string& username) { |
| 67 return std::string(chrome::kChromeUIScreenlockIconURL) + | 67 return std::string(chrome::kChromeUIScreenlockIconURL) + |
| 68 net::EscapePath(username); | 68 net::EscapePath(username); |
| 69 } | 69 } |
| 70 | 70 |
| 71 } // namespace chromeos | 71 } // namespace chromeos |
| OLD | NEW |