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

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

Issue 1922873005: ppapi: PPB_VpnProvider: Bind VpnService to the PPAPI Resource Host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-api-resource-host
Patch Set: Add NOTREACHED() Created 4 years, 7 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 b439a3e255e76af55508eef055293715dc2be8db..557f35bcd012861bbdf01274a9df94fe90185bd6 100644
--- a/extensions/browser/api/vpn_provider/vpn_service.h
+++ b/extensions/browser/api/vpn_provider/vpn_service.h
@@ -162,8 +162,15 @@ class VpnService : public KeyedService,
static std::string GetKey(const std::string& extension_id,
const std::string& configuration_name);
+ void Bind(const std::string& extension_id,
+ const std::string& configuration_id,
+ const std::string& configuration_name,
+ const SuccessCallback& success,
+ const FailureCallback& failure);
+
private:
class VpnConfiguration;
+ class VpnServiceDelegateImpl;
using StringToConfigurationMap = std::map<std::string, VpnConfiguration*>;
« no previous file with comments | « no previous file | extensions/browser/api/vpn_provider/vpn_service.cc » ('j') | extensions/browser/api/vpn_provider/vpn_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698