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

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

Issue 6677064: Remove last dependencies on chrome\common from chrome\plugin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | « content/common/content_client.h ('k') | content/common/section_util_win.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) 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 CHROME_COMMON_SECTION_UTIL_WIN_H_ 5 #ifndef CONTENT_COMMON_SECTION_UTIL_WIN_H_
6 #define CHROME_COMMON_SECTION_UTIL_WIN_H_ 6 #define CONTENT_COMMON_SECTION_UTIL_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
11 namespace chrome { 11 namespace chrome {
12 12
13 // Duplicates a section handle from another process to the current process. 13 // Duplicates a section handle from another process to the current process.
14 // Returns the new valid handle if the function succeed. NULL otherwise. 14 // Returns the new valid handle if the function succeed. NULL otherwise.
15 HANDLE GetSectionFromProcess(HANDLE section, HANDLE process, bool read_only); 15 HANDLE GetSectionFromProcess(HANDLE section, HANDLE process, bool read_only);
16 16
17 // Duplicates a section handle from the current process for use in another 17 // Duplicates a section handle from the current process for use in another
18 // process. Returns the new valid handle or NULL on failure. 18 // process. Returns the new valid handle or NULL on failure.
19 HANDLE GetSectionForProcess(HANDLE section, HANDLE process, bool read_only); 19 HANDLE GetSectionForProcess(HANDLE section, HANDLE process, bool read_only);
20 20
21 } // namespace chrome 21 } // namespace chrome
22 22
23 #endif // CHROME_COMMON_SECTION_UTIL_WIN_H_ 23 #endif // CONTENT_COMMON_SECTION_UTIL_WIN_H_
OLDNEW
« no previous file with comments | « content/common/content_client.h ('k') | content/common/section_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698