OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/process_singleton.h" |
| 6 |
| 7 // Look for a Chrome instance that uses the same profile directory. |
| 8 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) |
| 9 : window_(NULL), locked_(false), foreground_window_(NULL) { |
| 10 } |
| 11 |
| 12 ProcessSingleton::~ProcessSingleton() { |
| 13 } |
| 14 |
| 15 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { |
| 16 // TODO(beng): |
| 17 NOTIMPLEMENTED(); |
| 18 return PROCESS_NONE; |
| 19 } |
| 20 |
| 21 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() { |
| 22 // TODO(beng): |
| 23 NOTIMPLEMENTED(); |
| 24 return PROCESS_NONE; |
| 25 } |
| 26 |
| 27 bool ProcessSingleton::Create() { |
| 28 // TODO(beng): |
| 29 NOTIMPLEMENTED(); |
| 30 return true; |
| 31 } |
| 32 |
| 33 void ProcessSingleton::Cleanup() { |
| 34 // TODO(beng): |
| 35 NOTIMPLEMENTED(); |
| 36 } |
OLD | NEW |