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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/common/font_list_win.cc ('k') | content/common/handle_enumerator_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 CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_ 5 #ifndef CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_
6 #define CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_ 6 #define CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 13 matching lines...) Expand all
24 MutexHandle, 24 MutexHandle,
25 SemaphoreHandle, 25 SemaphoreHandle,
26 TimerHandle, 26 TimerHandle,
27 NamedPipeHandle, 27 NamedPipeHandle,
28 JobHandle, 28 JobHandle,
29 FileMapHandle, 29 FileMapHandle,
30 AlpcPortHandle, 30 AlpcPortHandle,
31 OtherHandle 31 OtherHandle
32 }; 32 };
33 33
34 static HandleType StringToHandleType(const string16& type); 34 static HandleType StringToHandleType(const base::string16& type);
35 35
36 static string16 GetAccessString(HandleType handle_type, ACCESS_MASK access); 36 static base::string16 GetAccessString(HandleType handle_type,
37 ACCESS_MASK access);
37 38
38 class HandleEnumerator : public base::RefCountedThreadSafe<HandleEnumerator> { 39 class HandleEnumerator : public base::RefCountedThreadSafe<HandleEnumerator> {
39 public: 40 public:
40 explicit HandleEnumerator(bool all_handles): 41 explicit HandleEnumerator(bool all_handles):
41 all_handles_(all_handles) { } 42 all_handles_(all_handles) { }
42 43
43 void EnumerateHandles(); 44 void EnumerateHandles();
44 45
45 private: 46 private:
46 bool all_handles_; 47 bool all_handles_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(HandleEnumerator); 49 DISALLOW_COPY_AND_ASSIGN(HandleEnumerator);
49 }; 50 };
50 51
51 } // namespace content 52 } // namespace content
52 53
53 #endif // CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_ 54 #endif // CONTENT_COMMON_HANDLE_ENUMERATOR_WIN_H_
54 55
OLDNEW
« no previous file with comments | « content/common/font_list_win.cc ('k') | content/common/handle_enumerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698