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

Side by Side Diff: content/common/section_util_win.h

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: fix exports for switches, content_main Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_COMMON_SECTION_UTIL_WIN_H_ 5 #ifndef CONTENT_COMMON_SECTION_UTIL_WIN_H_
6 #define CONTENT_COMMON_SECTION_UTIL_WIN_H_ 6 #define CONTENT_COMMON_SECTION_UTIL_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_export.h"
darin (slow to review) 2011/09/04 15:41:04 nit: include system headers first
Dirk Pranke 2011/09/07 01:46:07 Done.
10
9 #include <windows.h> 11 #include <windows.h>
10 12
11 namespace chrome { 13 namespace chrome {
12 14
13 // Duplicates a section handle from another process to the current process. 15 // Duplicates a section handle from another process to the current process.
14 // Returns the new valid handle if the function succeed. NULL otherwise. 16 // Returns the new valid handle if the function succeed. NULL otherwise.
15 HANDLE GetSectionFromProcess(HANDLE section, HANDLE process, bool read_only); 17 HANDLE GetSectionFromProcess(HANDLE section, HANDLE process, bool read_only);
16 18
17 // Duplicates a section handle from the current process for use in another 19 // Duplicates a section handle from the current process for use in another
18 // process. Returns the new valid handle or NULL on failure. 20 // process. Returns the new valid handle or NULL on failure.
19 HANDLE GetSectionForProcess(HANDLE section, HANDLE process, bool read_only); 21 CONTENT_EXPORT HANDLE GetSectionForProcess(
22 HANDLE section,
23 HANDLE process,
24 bool read_only);
20 25
21 } // namespace chrome 26 } // namespace chrome
22 27
23 #endif // CONTENT_COMMON_SECTION_UTIL_WIN_H_ 28 #endif // CONTENT_COMMON_SECTION_UTIL_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698