Index: content/public/browser/devtools_http_handler.h |
diff --git a/content/public/browser/devtools_http_handler.h b/content/public/browser/devtools_http_handler.h |
index 8ba316c3d97f764f974097570b0f83034fb45002..22dbfafccaee33888eee003daaa2560b7f3b8653 100644 |
--- a/content/public/browser/devtools_http_handler.h |
+++ b/content/public/browser/devtools_http_handler.h |
@@ -9,6 +9,10 @@ |
#include "content/common/content_export.h" |
+#if defined(OS_ANDROID) |
pfeldman
2012/08/02 17:05:50
I don't think it should contain Android-specifics.
|
+#include <pwd.h> |
mnaganov (inactive)
2012/08/02 16:16:45
<pwd.h> should go before <string>: http://google-s
|
+#endif |
+ |
namespace net { |
class StreamListenSocketFactory; |
class URLRequestContextGetter; |
@@ -48,6 +52,10 @@ class DevToolsHttpHandler { |
net::URLRequestContextGetter* request_context_getter, |
DevToolsHttpHandlerDelegate* delegate); |
+#if defined(OS_ANDROID) |
+ CONTENT_EXPORT static bool IsUserAllowedToConnect(uid_t uid, gid_t gid); |
+#endif |
+ |
// Called from the main thread in order to stop protocol handler. |
// Automatically destroys the handler instance. |
virtual void Stop() = 0; |