| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "mojo/shell/runner/init.h" | 5 #include "services/shell/runner/init.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/debug/debugger.h" | 11 #include "base/debug/debugger.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/i18n/icu_util.h" | 13 #include "base/i18n/icu_util.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
| 16 #include "base/strings/string_split.h" | 16 #include "base/strings/string_split.h" |
| 17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
| 18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "mojo/shell/runner/common/switches.h" | 19 #include "services/shell/runner/common/switches.h" |
| 20 | 20 |
| 21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
| 22 #include <windows.h> | 22 #include <windows.h> |
| 23 #elif (OS_POSIX) | 23 #elif (OS_POSIX) |
| 24 #include <unistd.h> | 24 #include <unistd.h> |
| 25 #endif | 25 #endif |
| 26 | 26 |
| 27 namespace mojo { | 27 namespace mojo { |
| 28 namespace shell { | 28 namespace shell { |
| 29 | 29 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 const uint8_t* icu_data = base::i18n::GetRawIcuMemory(); | 79 const uint8_t* icu_data = base::i18n::GetRawIcuMemory(); |
| 80 init_function(icu_data); | 80 init_function(icu_data); |
| 81 } | 81 } |
| 82 | 82 |
| 83 // TODO(erg): All chromium binaries load base. We might want to make a | 83 // TODO(erg): All chromium binaries load base. We might want to make a |
| 84 // general system for other people. | 84 // general system for other people. |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace shell | 87 } // namespace shell |
| 88 } // namespace mojo | 88 } // namespace mojo |
| OLD | NEW |