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

Side by Side Diff: base/win/scoped_startup_info_ex.h

Issue 10870093: Rename ScopedStartupInfoEx to StartupInformation and cleanup accesors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « base/base.gypi ('k') | base/win/scoped_startup_info_ex.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BASE_WIN_SCOPED_STARTUP_INFO_EX_H_
6 #define BASE_WIN_SCOPED_STARTUP_INFO_EX_H_
7
8 #include <windows.h>
9
10 #include "base/base_export.h"
11 #include "base/basictypes.h"
12
13 namespace base {
14 namespace win {
15
16 // Manages the lifetime of additional attributes in STARTUPINFOEX.
17 class BASE_EXPORT ScopedStartupInfoEx {
18 public:
19 ScopedStartupInfoEx();
20
21 ~ScopedStartupInfoEx();
22
23 // Initialize the attribute list for the specified number of entries.
24 bool InitializeProcThreadAttributeList(DWORD attribute_count);
25
26 // Sets one entry in the initialized attribute list.
27 bool UpdateProcThreadAttribute(DWORD_PTR attribute,
28 void* value,
29 size_t size);
30
31 STARTUPINFO* startup_info() { return &startup_info_.StartupInfo; }
32
33 private:
34 STARTUPINFOEX startup_info_;
35 DISALLOW_COPY_AND_ASSIGN(ScopedStartupInfoEx);
36 };
37
38 } // namespace win
39 } // namespace base
40
41 #endif // BASE_WIN_SCOPED_STARTUP_INFO_EX_H_
42
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/win/scoped_startup_info_ex.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698