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

Unified Diff: ppapi/proxy/host_resolver_resource_base.h

Issue 16933003: Implement PPB_HostResolver_Dev: part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « ppapi/proxy/host_resolver_resource.cc ('k') | ppapi/proxy/host_resolver_resource_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/host_resolver_resource_base.h
diff --git a/ppapi/proxy/host_resolver_resource_base.h b/ppapi/proxy/host_resolver_resource_base.h
index 850ef0754abbea4ffdb38d0dd8da889b49eca496..d27d98881798c71d008264a951f7bd3ed0aa1202 100644
--- a/ppapi/proxy/host_resolver_resource_base.h
+++ b/ppapi/proxy/host_resolver_resource_base.h
@@ -30,7 +30,9 @@ class NetAddressResource;
class PPAPI_PROXY_EXPORT HostResolverResourceBase: public PluginResource {
public:
- HostResolverResourceBase(Connection connection, PP_Instance instance);
+ HostResolverResourceBase(Connection connection,
+ PP_Instance instance,
+ bool private_api);
virtual ~HostResolverResourceBase();
int32_t ResolveImpl(const char* host,
@@ -53,6 +55,8 @@ class PPAPI_PROXY_EXPORT HostResolverResourceBase: public PluginResource {
bool ResolveInProgress() const;
+ bool private_api_;
+
scoped_refptr<TrackedCallback> resolve_callback_;
// Set to false if there is a pending resolve request or the previous request
« no previous file with comments | « ppapi/proxy/host_resolver_resource.cc ('k') | ppapi/proxy/host_resolver_resource_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698