Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Side by Side Diff: services/service_manager/public/cpp/lib/init_commandline.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 namespace shell { 7 namespace shell {
8 8
9 extern int g_service_runner_argc; 9 extern int g_service_runner_argc;
10 extern const char* const* g_service_runner_argv; 10 extern const char* const* g_service_runner_argv;
11 11
12 } // namespace shell 12 } // namespace shell
13 13
14 #if !defined(OS_WIN) 14 #if !defined(OS_WIN)
15 extern "C" { 15 extern "C" {
16 __attribute__((visibility("default"))) void InitCommandLineArgs( 16 __attribute__((visibility("default"))) void InitCommandLineArgs(
17 int argc, const char* const* argv) { 17 int argc, const char* const* argv) {
18 shell::g_service_runner_argc = argc; 18 shell::g_service_runner_argc = argc;
19 shell::g_service_runner_argv = argv; 19 shell::g_service_runner_argv = argv;
20 } 20 }
21 } 21 }
22 #endif 22 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698