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

Unified Diff: content/public/browser/devtools_http_handler.h

Issue 10832112: Simplify devtools code on android and enable devtools for android content_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: 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;

Powered by Google App Engine
This is Rietveld 408576698