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

Side by Side Diff: sandbox/src/win2k_threadpool.cc

Issue 42155: Remove logging.h from cc files that don't use it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « sandbox/src/target_process.cc ('k') | webkit/default_plugin/default_plugin.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "sandbox/src/win2k_threadpool.h" 5 #include "sandbox/src/win2k_threadpool.h"
6 6
7 #include "base/logging.h"
8 #include "sandbox/src/win_utils.h" 7 #include "sandbox/src/win_utils.h"
9 8
10 namespace sandbox { 9 namespace sandbox {
11 10
12 bool Win2kThreadPool::RegisterWait(const void* client, HANDLE waitable_object, 11 bool Win2kThreadPool::RegisterWait(const void* client, HANDLE waitable_object,
13 CrossCallIPCCallback callback, 12 CrossCallIPCCallback callback,
14 void* context) { 13 void* context) {
15 if (0 == client) { 14 if (0 == client) {
16 return false; 15 return false;
17 } 16 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 } 55 }
57 56
58 Win2kThreadPool::~Win2kThreadPool() { 57 Win2kThreadPool::~Win2kThreadPool() {
59 // Here we used to unregister all the pool wait handles. Now, following the 58 // Here we used to unregister all the pool wait handles. Now, following the
60 // rest of the code we avoid lengthy or blocking calls given that the process 59 // rest of the code we avoid lengthy or blocking calls given that the process
61 // is being torn down. 60 // is being torn down.
62 ::DeleteCriticalSection(&lock_); 61 ::DeleteCriticalSection(&lock_);
63 } 62 }
64 63
65 } // namespace sandbox 64 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/src/target_process.cc ('k') | webkit/default_plugin/default_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698