Index: extensions/browser/api/vpn_provider/vpn_service.h |
diff --git a/extensions/browser/api/vpn_provider/vpn_service.h b/extensions/browser/api/vpn_provider/vpn_service.h |
index 11d67d47017a48509fd13d4bc60da33a002eac97..cd0654dbca244ac8b682b160a4980c05df0f900e 100644 |
--- a/extensions/browser/api/vpn_provider/vpn_service.h |
+++ b/extensions/browser/api/vpn_provider/vpn_service.h |
@@ -67,6 +67,11 @@ class VpnService : public KeyedService, |
NetworkStateHandler* network_state_handler); |
~VpnService() override; |
+ void SendShowAddDialogToExtension(const std::string& extension_id); |
+ |
+ void SendShowConfigureDialogToExtension(const std::string& extension_id, |
+ const std::string& configuration_id); |
+ |
// NetworkConfigurationObserver: |
void OnConfigurationCreated(const std::string& service_path, |
const std::string& profile_path, |
@@ -104,11 +109,11 @@ class VpnService : public KeyedService, |
const SuccessCallback& success, |
const FailureCallback& failure); |
- // Destroys the VPN configuration with the name |configuration_name| after |
- // verifying that it belongs to the extension with id |extension_id|. |
+ // Destroys the VPN configuration with |configuration_id| after verifying that |
+ // it belongs to the extension with id |extension_id|. |
// Calls |success| or |failure| based on the outcome. |
void DestroyConfiguration(const std::string& extension_id, |
- const std::string& configuration_name, |
+ const std::string& configuration_id, |
const SuccessCallback& success, |
const FailureCallback& failure); |