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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_
6 #define CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_
8 #include "base/memory/ref_counted.h"
9 #include "base/process/process.h"
10 #include "base/strings/string16.h"
34 static HandleType
StringToHandleType(const base::string16
& type
);
36 static base::string16
GetAccessString(HandleType handle_type
,
39 class HandleEnumerator
: public base::RefCountedThreadSafe
<HandleEnumerator
> {
41 explicit HandleEnumerator(bool all_handles
):
42 all_handles_(all_handles
) { }
44 void EnumerateHandles();
49 DISALLOW_COPY_AND_ASSIGN(HandleEnumerator
);
52 } // namespace content
54 #endif // CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_