diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 22:23:58 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 22:23:58 +0000 |
commit | 7d34040372aacc714b5958b6251fdfe1446e5cce (patch) | |
tree | 9d30431e9f588b17be26aca0f04a172b59c08073 /ipc/ipc_channel_win.cc | |
parent | b888dfe092bc8ea3e485b606ecc23b73955c2d51 (diff) | |
download | chromium_src-7d34040372aacc714b5958b6251fdfe1446e5cce.zip chromium_src-7d34040372aacc714b5958b6251fdfe1446e5cce.tar.gz chromium_src-7d34040372aacc714b5958b6251fdfe1446e5cce.tar.bz2 |
Remove base/scoped_handle_win.h stub and fix up all callers to use the new location and namespace.
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/6126002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70795 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_win.cc')
-rw-r--r-- | ipc/ipc_channel_win.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc index ee58701..f549d34 100644 --- a/ipc/ipc_channel_win.cc +++ b/ipc/ipc_channel_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -13,6 +13,7 @@ #include "base/logging.h" #include "base/threading/non_thread_safe.h" #include "base/utf_string_conversions.h" +#include "base/win/scoped_handle.h" #include "ipc/ipc_logging.h" #include "ipc/ipc_message_utils.h" @@ -29,7 +30,7 @@ bool GetLogonSessionOnlyDACL(SECURITY_DESCRIPTOR** security_descriptor) { HANDLE token = NULL; if (!::OpenProcessToken(::GetCurrentProcess(), TOKEN_QUERY, &token)) return false; - ScopedHandle token_scoped(token); + base::win::ScopedHandle token_scoped(token); // Get the size of the TokenGroups structure. DWORD size = 0; |