OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <algorithm> |
| 6 |
5 #include "base/file_util.h" | 7 #include "base/file_util.h" |
6 #include "base/logging.h" | 8 #include "base/logging.h" |
7 #include "base/path_service.h" | 9 #include "base/path_service.h" |
8 #include "base/process_util.h" | 10 #include "base/process_util.h" |
9 #include "base/singleton.h" | 11 #include "base/singleton.h" |
10 #include "base/string16.h" | 12 #include "base/string16.h" |
11 #include "base/string_util.h" | 13 #include "base/string_util.h" |
12 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
13 #include "base/version.h" | 15 #include "base/version.h" |
14 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 version_info.Version().length()); | 232 version_info.Version().length()); |
231 shared_data->service_process_pid = base::GetCurrentProcId(); | 233 shared_data->service_process_pid = base::GetCurrentProcId(); |
232 shared_mem_service_data_.reset(shared_mem_service_data.release()); | 234 shared_mem_service_data_.reset(shared_mem_service_data.release()); |
233 return true; | 235 return true; |
234 } | 236 } |
235 | 237 |
236 | 238 |
237 std::string ServiceProcessState::GetAutoRunKey() { | 239 std::string ServiceProcessState::GetAutoRunKey() { |
238 return GetServiceProcessScopedName("_service_run"); | 240 return GetServiceProcessScopedName("_service_run"); |
239 } | 241 } |
240 | |
OLD | NEW |