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

Unified Diff: extensions/browser/api/vpn_provider/vpn_service.cc

Issue 1014053002: Provide warning message for setParameters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Print only when there is a warning and fix unittest error Created 5 years, 9 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: extensions/browser/api/vpn_provider/vpn_service.cc
diff --git a/extensions/browser/api/vpn_provider/vpn_service.cc b/extensions/browser/api/vpn_provider/vpn_service.cc
index f849f1f2a72bf38f137b9801901d59e917435a31..1e94b18fc73937a948ee328e69d538610abe8e27 100644
--- a/extensions/browser/api/vpn_provider/vpn_service.cc
+++ b/extensions/browser/api/vpn_provider/vpn_service.cc
@@ -376,7 +376,7 @@ void VpnService::DestroyConfiguration(const std::string& extension_id,
void VpnService::SetParameters(const std::string& extension_id,
const base::DictionaryValue& parameters,
- const SuccessCallback& success,
+ const StringCallback& success,
const FailureCallback& failure) {
if (!DoesActiveConfigurationExistAndIsAccessAuthorized(extension_id)) {
failure.Run(std::string(), std::string("Unauthorized access."));

Powered by Google App Engine
This is Rietveld 408576698