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

Side by Side Diff: base/android/library_loader/library_loader_hooks.cc

Issue 2373523003: Clean up sparse_histogram.h header (Closed)
Patch Set: Rebase update on Oct 18 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
« no previous file with comments | « no previous file | base/files/file_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/android/library_loader/library_loader_hooks.h" 5 #include "base/android/library_loader/library_loader_hooks.h"
6 6
7 #include "base/android/command_line_android.h" 7 #include "base/android/command_line_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "base/android/library_loader/library_load_from_apk_status_codes.h" 9 #include "base/android/library_loader/library_load_from_apk_status_codes.h"
10 #include "base/android/library_loader/library_prefetcher.h" 10 #include "base/android/library_loader/library_prefetcher.h"
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 #include "base/metrics/sparse_histogram.h" 13 #include "base/metrics/histogram_macros.h"
14 #include "jni/LibraryLoader_jni.h" 14 #include "jni/LibraryLoader_jni.h"
15 15
16 namespace base { 16 namespace base {
17 namespace android { 17 namespace android {
18 18
19 namespace { 19 namespace {
20 20
21 base::AtExitManager* g_at_exit_manager = NULL; 21 base::AtExitManager* g_at_exit_manager = NULL;
22 const char* g_library_version_number = ""; 22 const char* g_library_version_number = "";
23 LibraryLoadedHook* g_registration_callback = NULL; 23 LibraryLoadedHook* g_registration_callback = NULL;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 return static_cast<LibraryProcessType>( 210 return static_cast<LibraryProcessType>(
211 Java_LibraryLoader_getLibraryProcessType(env)); 211 Java_LibraryLoader_getLibraryProcessType(env));
212 } 212 }
213 213
214 void InitAtExitManager() { 214 void InitAtExitManager() {
215 g_at_exit_manager = new base::AtExitManager(); 215 g_at_exit_manager = new base::AtExitManager();
216 } 216 }
217 217
218 } // namespace android 218 } // namespace android
219 } // namespace base 219 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | base/files/file_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698