OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/app/android_library_loader_hooks.h" | 5 #include "content/app/android/library_loader_hooks.h" |
6 | 6 |
7 #include "base/android/base_jni_registrar.h" | 7 #include "base/android/base_jni_registrar.h" |
8 #include "base/android/command_line_android.h" | 8 #include "base/android/command_line_android.h" |
9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
10 #include "base/android/jni_registrar.h" | 10 #include "base/android/jni_registrar.h" |
11 #include "base/android/jni_string.h" | 11 #include "base/android/jni_string.h" |
12 #include "base/base_switches.h" | 12 #include "base/base_switches.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; | 105 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
106 logging::InitLogging(settings); | 106 logging::InitLogging(settings); |
107 // To view log output with IDs and timestamps use "adb logcat -v threadtime". | 107 // To view log output with IDs and timestamps use "adb logcat -v threadtime". |
108 logging::SetLogItems(false, // Process ID | 108 logging::SetLogItems(false, // Process ID |
109 false, // Thread ID | 109 false, // Thread ID |
110 false, // Timestamp | 110 false, // Timestamp |
111 false); // Tick count | 111 false); // Tick count |
112 VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel() | 112 VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel() |
113 << ", default verbosity = " << logging::GetVlogVerbosity(); | 113 << ", default verbosity = " << logging::GetVlogVerbosity(); |
114 | 114 |
115 return EnsureJniRegistered(env); | 115 return true; |
116 } | 116 } |
117 | 117 |
118 } // namespace content | 118 } // namespace content |
OLD | NEW |