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

Side by Side Diff: sandbox/win/src/app_container.h

Issue 1849323003: Convert //sandbox to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixup nonsfi_sandbox_unittest.cc Created 4 years, 8 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
« no previous file with comments | « sandbox/win/src/address_sanitizer_test.cc ('k') | sandbox/win/src/app_container.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « sandbox/win/src/address_sanitizer_test.cc ('k') | sandbox/win/src/app_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698