| OLD | NEW |
| 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 #include "chrome/browser/process_singleton.h" | 5 #include "chrome/browser/process_singleton.h" |
| 6 | 6 |
| 7 // Look for a Chrome instance that uses the same profile directory. | 7 // Look for a Chrome instance that uses the same profile directory. |
| 8 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) | 8 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) |
| 9 : | 9 : |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) && !defined(USE_AURA) |
| 11 window_(NULL), | 11 window_(NULL), |
| 12 #endif | 12 #endif |
| 13 locked_(false), foreground_window_(NULL) { | 13 locked_(false), foreground_window_(NULL) { |
| 14 } | 14 } |
| 15 | 15 |
| 16 ProcessSingleton::~ProcessSingleton() { | 16 ProcessSingleton::~ProcessSingleton() { |
| 17 } | 17 } |
| 18 | 18 |
| 19 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { | 19 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { |
| 20 // TODO(beng): | 20 // TODO(beng): |
| (...skipping 10 matching lines...) Expand all Loading... |
| 31 bool ProcessSingleton::Create() { | 31 bool ProcessSingleton::Create() { |
| 32 // TODO(beng): | 32 // TODO(beng): |
| 33 NOTIMPLEMENTED(); | 33 NOTIMPLEMENTED(); |
| 34 return true; | 34 return true; |
| 35 } | 35 } |
| 36 | 36 |
| 37 void ProcessSingleton::Cleanup() { | 37 void ProcessSingleton::Cleanup() { |
| 38 // TODO(beng): | 38 // TODO(beng): |
| 39 NOTIMPLEMENTED(); | 39 NOTIMPLEMENTED(); |
| 40 } | 40 } |
| OLD | NEW |