OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SANDBOX_WIN_SRC_APP_CONTAINER_H_ | 5 #ifndef SANDBOX_WIN_SRC_APP_CONTAINER_H_ |
6 #define SANDBOX_WIN_SRC_APP_CONTAINER_H_ | 6 #define SANDBOX_WIN_SRC_APP_CONTAINER_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
15 #include "sandbox/win/src/sandbox_types.h" | 14 #include "sandbox/win/src/sandbox_types.h" |
16 | 15 |
17 namespace base { | 16 namespace base { |
18 namespace win { | 17 namespace win { |
19 class StartupInformation; | 18 class StartupInformation; |
20 } | 19 } |
21 } | 20 } |
22 | 21 |
23 namespace sandbox { | 22 namespace sandbox { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // CreateAppContainer. | 60 // CreateAppContainer. |
62 ResultCode DeleteAppContainer(const base::string16& sid); | 61 ResultCode DeleteAppContainer(const base::string16& sid); |
63 | 62 |
64 // Retrieves the name associated with the provided AppContainer sid. Returns an | 63 // Retrieves the name associated with the provided AppContainer sid. Returns an |
65 // empty string if the AppContainer is not registered with the system. | 64 // empty string if the AppContainer is not registered with the system. |
66 base::string16 LookupAppContainer(const base::string16& sid); | 65 base::string16 LookupAppContainer(const base::string16& sid); |
67 | 66 |
68 } // namespace sandbox | 67 } // namespace sandbox |
69 | 68 |
70 #endif // SANDBOX_WIN_SRC_APP_CONTAINER_H_ | 69 #endif // SANDBOX_WIN_SRC_APP_CONTAINER_H_ |
OLD | NEW |