Index: content/browser/keyboard_lock/keyboard_lock_service_impl.cc |
diff --git a/content/browser/keyboard_lock/keyboard_lock_service_impl.cc b/content/browser/keyboard_lock/keyboard_lock_service_impl.cc |
index 46ad8c8356e88b63d3f8b0fc4efdbbe501ec72ef..727bd49aee91f9acb14878571be3b2bd07b3ced6 100644 |
--- a/content/browser/keyboard_lock/keyboard_lock_service_impl.cc |
+++ b/content/browser/keyboard_lock/keyboard_lock_service_impl.cc |
@@ -24,14 +24,14 @@ void KeyboardLockServiceImpl::CreateMojoService( |
std::move(request)); |
} |
-void KeyboardLockServiceImpl::RequestKeyLock( |
+void KeyboardLockServiceImpl::RequestKeyboardLock( |
const std::vector<std::string>& key_codes, |
- const RequestKeyLockCallback& callback) { |
+ const RequestKeyboardLockCallback& callback) { |
// TODO(zijiehe): Implementation required. |
- callback.Run(true, std::string()); |
+ callback.Run(blink::mojom::KeyboardLockRequestResult::SUCCESS); |
} |
-void KeyboardLockServiceImpl::CancelKeyLock() { |
+void KeyboardLockServiceImpl::CancelKeyboardLock() { |
// TODO(zijiehe): Implementation required. |
} |