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

Unified Diff: content/browser/keyboard_lock/keyboard_lock_service_impl.cc

Issue 2852823002: Rename KeyLock to KeyboardLock and return enum from IPC (Closed)
Patch Set: Remove KeyboardLockRequestResult::FAILURE; it is not used by Chrome. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
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.
}
« no previous file with comments | « content/browser/keyboard_lock/keyboard_lock_service_impl.h ('k') | third_party/WebKit/LayoutTests/W3CImportExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698