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

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

Issue 1028213002: Destroy configurations created by VPN extension on disable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes comments from Philipp 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 25e93172aa837de0265630cd8c189e3e66da86d6..72c62406daceabee75df8c945129fc63b254bc57 100644
--- a/extensions/browser/api/vpn_provider/vpn_service.h
+++ b/extensions/browser/api/vpn_provider/vpn_service.h
@@ -215,6 +215,10 @@ class VpnService : public KeyedService,
const std::string& event_name,
scoped_ptr<base::ListValue> event_args);
+ // Destroy configurations belonging to the extension.
+ void DestroyConfigurationsForExtension(
+ const extensions::Extension* extension);
+
// Set the active configuration.
void SetActiveConfiguration(VpnConfiguration* configuration);
« no previous file with comments | « chrome/browser/extensions/api/vpn_provider/vpn_provider_apitest.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