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

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

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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 mojo { 7 namespace mojo {
8 8
9 extern int g_application_runner_argc; 9 extern int g_application_runner_argc;
10 extern const char* const* g_application_runner_argv; 10 extern const char* const* g_application_runner_argv;
11 11
12 } 12 }
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 mojo::g_application_runner_argc = argc; 18 mojo::g_application_runner_argc = argc;
19 mojo::g_application_runner_argv = argv; 19 mojo::g_application_runner_argv = argv;
20 } 20 }
21 } 21 }
22 #endif 22 #endif
OLDNEW
« no previous file with comments | « services/shell/public/cpp/lib/identity.cc ('k') | services/shell/public/cpp/lib/interface_factory_binder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698