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

Side by Side Diff: components/devtools_remote_frontend/devtools_auth_android.h

Issue 17389005: [Android] Abandon bundling DevTools frontends for mobile apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_AUTH_ANDROID_H_
6 #define COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_AUTH_ANDROID_H_
7
8 #include <pwd.h>
9
10 namespace devtools_remote_frontend {
11
12 // Returns true if the given user/group pair is authorized to connect to the
13 // devtools server, false if not.
14 bool CanUserConnectToDevTools(uid_t uid, gid_t gid);
15
16 } // namespace devtools_remote_frontend
17
18 #endif // COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_AUTH_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698