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/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
14 #include "sandbox/win/src/sandbox_types.h" | 15 #include "sandbox/win/src/sandbox_types.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 namespace win { | 18 namespace win { |
18 class StartupInformation; | 19 class StartupInformation; |
19 } | 20 } |
20 } | 21 } |
21 | 22 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // CreateAppContainer. | 61 // CreateAppContainer. |
61 ResultCode DeleteAppContainer(const base::string16& sid); | 62 ResultCode DeleteAppContainer(const base::string16& sid); |
62 | 63 |
63 // Retrieves the name associated with the provided AppContainer sid. Returns an | 64 // Retrieves the name associated with the provided AppContainer sid. Returns an |
64 // empty string if the AppContainer is not registered with the system. | 65 // empty string if the AppContainer is not registered with the system. |
65 base::string16 LookupAppContainer(const base::string16& sid); | 66 base::string16 LookupAppContainer(const base::string16& sid); |
66 | 67 |
67 } // namespace sandbox | 68 } // namespace sandbox |
68 | 69 |
69 #endif // SANDBOX_WIN_SRC_APP_CONTAINER_H_ | 70 #endif // SANDBOX_WIN_SRC_APP_CONTAINER_H_ |
OLD | NEW |