| Index: components/devtools_remote_frontend/devtools_auth_android.h
|
| diff --git a/components/devtools_remote_frontend/devtools_auth_android.h b/components/devtools_remote_frontend/devtools_auth_android.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f96534c2bf73f55b97d876cbd9d65384c32f1449
|
| --- /dev/null
|
| +++ b/components/devtools_remote_frontend/devtools_auth_android.h
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_AUTH_ANDROID_H_
|
| +#define COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_AUTH_ANDROID_H_
|
| +
|
| +#include <pwd.h>
|
| +
|
| +namespace devtools_remote_frontend {
|
| +
|
| +// Returns true if the given user/group pair is authorized to connect to the
|
| +// devtools server, false if not.
|
| +bool CanUserConnectToDevTools(uid_t uid, gid_t gid);
|
| +
|
| +} // namespace devtools_remote_frontend
|
| +
|
| +#endif // COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_AUTH_ANDROID_H_
|
|
|