| Index: chrome/common/service_process_util.cc
|
| diff --git a/chrome/common/service_process_util.cc b/chrome/common/service_process_util.cc
|
| index 489610a9893aa0683dbd486e9e6caaba68055269..81899b65534409cd07de3e5e8525e5ec05f58575 100644
|
| --- a/chrome/common/service_process_util.cc
|
| +++ b/chrome/common/service_process_util.cc
|
| @@ -6,6 +6,7 @@
|
| #include "base/logging.h"
|
| #include "base/path_service.h"
|
| #include "base/process_util.h"
|
| +#include "base/singleton.h"
|
| #include "base/string16.h"
|
| #include "base/string_util.h"
|
| #include "base/utf_string_conversions.h"
|
| @@ -156,6 +157,11 @@ ServiceProcessState::~ServiceProcessState() {
|
| TearDownState();
|
| }
|
|
|
| +// static
|
| +ServiceProcessState* ServiceProcessState::GetInstance() {
|
| + return Singleton<ServiceProcessState>::get();
|
| +}
|
| +
|
| bool ServiceProcessState::Initialize() {
|
| if (!TakeSingletonLock()) {
|
| return false;
|
|
|