| OLD | NEW |
| 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 "base/process.h" | 5 #include "base/process.h" |
| 6 #include "base/logging.h" | 6 #include "base/logging.h" |
| 7 #include "base/process_util.h" | 7 #include "base/process_util.h" |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 | 9 |
| 10 bool Process::IsProcessBackgrounded() { | 10 bool Process::IsProcessBackgrounded() { |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 bool Process::is_current() const { | 102 bool Process::is_current() const { |
| 103 return process_ == GetCurrentProcess(); | 103 return process_ == GetCurrentProcess(); |
| 104 } | 104 } |
| 105 | 105 |
| 106 // static | 106 // static |
| 107 Process Process::Current() { | 107 Process Process::Current() { |
| 108 return Process(GetCurrentProcess()); | 108 return Process(GetCurrentProcess()); |
| 109 } | 109 } |
| 110 | 110 |
| OLD | NEW |