projects
/
platform
/
core
/
test
/
security-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Group privilege check refactoring
[platform/core/test/security-tests.git]
/
src
/
security-manager-tests
/
common
/
scoped_app_launcher.h
diff --git
a/src/security-manager-tests/common/scoped_app_launcher.h
b/src/security-manager-tests/common/scoped_app_launcher.h
index
5a43149
..
133e7c8
100644
(file)
--- a/
src/security-manager-tests/common/scoped_app_launcher.h
+++ b/
src/security-manager-tests/common/scoped_app_launcher.h
@@
-15,12
+15,15
@@
*/
#pragma once
*/
#pragma once
+#include <functional>
+
#include <app_install_helper.h>
#include <synchronization_pipe.h>
class ScopedAppLauncher final {
public:
#include <app_install_helper.h>
#include <synchronization_pipe.h>
class ScopedAppLauncher final {
public:
- ScopedAppLauncher(const AppInstallHelper& app);
+ explicit ScopedAppLauncher(const AppInstallHelper& app,
+ const std::function<void(void)>& runInAppContext = []{});
~ScopedAppLauncher();
ScopedAppLauncher(const ScopedAppLauncher&) = delete;
~ScopedAppLauncher();
ScopedAppLauncher(const ScopedAppLauncher&) = delete;