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

Unified Diff: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc

Issue 695253002: chrome.gcdPrivate allows app to choose pairing method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mon Nov 3 17:47:42 PST 2014 Created 6 years, 1 month 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: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
index a76e5490dd1d6c72fd9ec605de2b326ade1fe446..b6ab37240199b5757b62f9f4e8e311a688d1422f 100644
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
@@ -392,12 +392,11 @@ void LocalDiscoveryUIHandler::SwitchToSetupWiFi(
}
void LocalDiscoveryUIHandler::ConfirmSecurityCode(
- const std::string& confirmation_code,
const ResultCallback& callback) {
device_code_callback_ = callback;
web_ui()->CallJavascriptFunction(
"local_discovery.onRegistrationConfirmDeviceCode",
- base::StringValue(confirmation_code));
+ base::StringValue("1234"));
}
void LocalDiscoveryUIHandler::RestoreWifi(const ResultCallback& callback) {

Powered by Google App Engine
This is Rietveld 408576698