| Index: services/service_manager/embedder/set_process_title.cc
|
| diff --git a/content/common/set_process_title.cc b/services/service_manager/embedder/set_process_title.cc
|
| similarity index 93%
|
| rename from content/common/set_process_title.cc
|
| rename to services/service_manager/embedder/set_process_title.cc
|
| index 21185989f2ffb08a93aebeffa56a61bef5cceb3e..80b9a0ab2ffcb55f23a6bff0d80e13ab66353116 100644
|
| --- a/content/common/set_process_title.cc
|
| +++ b/services/service_manager/embedder/set_process_title.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/common/set_process_title.h"
|
| +#include "services/service_manager/embedder/set_process_title.h"
|
|
|
| #include <stddef.h>
|
|
|
| @@ -27,14 +27,14 @@
|
| #include "base/strings/string_util.h"
|
| #include "base/threading/platform_thread.h"
|
| // Linux/glibc doesn't natively have setproctitle().
|
| -#include "content/common/set_process_title_linux.h"
|
| +#include "services/service_manager/embedder/set_process_title_linux.h"
|
| #endif // defined(OS_LINUX)
|
|
|
| -namespace content {
|
| +namespace service_manager {
|
|
|
| // TODO(jrg): Find out if setproctitle or equivalent is available on Android.
|
| #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_SOLARIS) && \
|
| - !defined(OS_ANDROID)
|
| + !defined(OS_ANDROID)
|
|
|
| void SetProcessTitleFromCommandLine(const char** main_argv) {
|
| // Build a single string which consists of all the arguments separated
|
| @@ -87,9 +87,8 @@ void SetProcessTitleFromCommandLine(const char** main_argv) {
|
|
|
| // All other systems (basically Windows & Mac) have no need or way to implement
|
| // this function.
|
| -void SetProcessTitleFromCommandLine(const char** /* main_argv */) {
|
| -}
|
| +void SetProcessTitleFromCommandLine(const char** /* main_argv */) {}
|
|
|
| #endif
|
|
|
| -} // namespace content
|
| +} // namespace service_manager
|
|
|