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

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

Issue 999783002: Extend vpnProvider API to support future enhancements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added documentation for UI events 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.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);
« no previous file with comments | « extensions/browser/api/vpn_provider/vpn_provider_api.cc ('k') | extensions/browser/api/vpn_provider/vpn_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698