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

Side by Side Diff: base/win/object_watcher.cc

Issue 937353002: Adding method to create process using LowBox token in sandbox code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed indent. Created 5 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/win/object_watcher.h" 5 #include "base/win/object_watcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/win/windows_version.h"
forshaw 2015/02/23 13:32:28 Unused include, removing doesn't affect the build.
Shrikant Kelkar 2015/02/23 17:54:01 Done.
9 10
10 namespace base { 11 namespace base {
11 namespace win { 12 namespace win {
12 13
13 //----------------------------------------------------------------------------- 14 //-----------------------------------------------------------------------------
14 15
15 ObjectWatcher::ObjectWatcher() 16 ObjectWatcher::ObjectWatcher()
16 : object_(NULL), 17 : object_(NULL),
17 wait_object_(NULL), 18 wait_object_(NULL),
18 origin_loop_(NULL), 19 origin_loop_(NULL),
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 } 103 }
103 104
104 void ObjectWatcher::WillDestroyCurrentMessageLoop() { 105 void ObjectWatcher::WillDestroyCurrentMessageLoop() {
105 // Need to shutdown the watch so that we don't try to access the MessageLoop 106 // Need to shutdown the watch so that we don't try to access the MessageLoop
106 // after this point. 107 // after this point.
107 StopWatching(); 108 StopWatching();
108 } 109 }
109 110
110 } // namespace win 111 } // namespace win
111 } // namespace base 112 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698