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

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

Issue 1469783002: Cleanup: Correctly spell success(ful). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format media Created 5 years 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 | « rlz/lib/rlz_lib.h ('k') | sync/engine/sync_scheduler_unittest.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>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 DISALLOW_COPY_AND_ASSIGN(AppContainerAttributes); 49 DISALLOW_COPY_AND_ASSIGN(AppContainerAttributes);
50 }; 50 };
51 51
52 // Creates a new AppContainer on the system. |sid| is the identifier of the new 52 // Creates a new AppContainer on the system. |sid| is the identifier of the new
53 // AppContainer, and |name| will be used as both the display name and moniker. 53 // AppContainer, and |name| will be used as both the display name and moniker.
54 // This function fails if the OS doesn't support AppContainers, or if there is 54 // This function fails if the OS doesn't support AppContainers, or if there is
55 // an AppContainer registered with the same id. 55 // an AppContainer registered with the same id.
56 ResultCode CreateAppContainer(const base::string16& sid, 56 ResultCode CreateAppContainer(const base::string16& sid,
57 const base::string16& name); 57 const base::string16& name);
58 58
59 // Deletes an AppContainer previously created with a successfull call to 59 // Deletes an AppContainer previously created with a successful call to
60 // CreateAppContainer. 60 // CreateAppContainer.
61 ResultCode DeleteAppContainer(const base::string16& sid); 61 ResultCode DeleteAppContainer(const base::string16& sid);
62 62
63 // Retrieves the name associated with the provided AppContainer sid. Returns an 63 // Retrieves the name associated with the provided AppContainer sid. Returns an
64 // empty string if the AppContainer is not registered with the system. 64 // empty string if the AppContainer is not registered with the system.
65 base::string16 LookupAppContainer(const base::string16& sid); 65 base::string16 LookupAppContainer(const base::string16& sid);
66 66
67 } // namespace sandbox 67 } // namespace sandbox
68 68
69 #endif // SANDBOX_WIN_SRC_APP_CONTAINER_H_ 69 #endif // SANDBOX_WIN_SRC_APP_CONTAINER_H_
OLDNEW
« no previous file with comments | « rlz/lib/rlz_lib.h ('k') | sync/engine/sync_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698