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

Side by Side Diff: base/android/apk_assets.h

Issue 2684433003: Files required by a service now listed in manifest. (Closed)
Patch Set: Addressed @boliu and @jam's comments. Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef BASE_ANDROID_APK_ASSETS_H_ 5 #ifndef BASE_ANDROID_APK_ASSETS_H_
6 #define BASE_ANDROID_APK_ASSETS_H_ 6 #define BASE_ANDROID_APK_ASSETS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 14 matching lines...) Expand all
25 BASE_EXPORT int OpenApkAsset( 25 BASE_EXPORT int OpenApkAsset(
26 const std::string& file_path, 26 const std::string& file_path,
27 base::MemoryMappedFile::Region* region); 27 base::MemoryMappedFile::Region* region);
28 28
29 // Registers an uncompressed asset from within the apk with GlobalDescriptors. 29 // Registers an uncompressed asset from within the apk with GlobalDescriptors.
30 // Returns: true in case of success, false otherwise. 30 // Returns: true in case of success, false otherwise.
31 BASE_EXPORT bool RegisterApkAssetWithGlobalDescriptors( 31 BASE_EXPORT bool RegisterApkAssetWithGlobalDescriptors(
32 base::GlobalDescriptors::Key key, 32 base::GlobalDescriptors::Key key,
33 const std::string& file_path); 33 const std::string& file_path);
34 34
35 // Similar to RegisterApkAssetWithGlobalDescriptors, but registers in the
36 // FileDescriptorStore.
37 BASE_EXPORT bool RegisterApkAssetWithFileDescriptorStore(
38 const std::string& key,
39 const std::string& file_path);
40
35 } // namespace android 41 } // namespace android
36 } // namespace base 42 } // namespace base
37 43
38 #endif // BASE_ANDROID_APK_ASSETS_H_ 44 #endif // BASE_ANDROID_APK_ASSETS_H_
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/android/apk_assets.cc » ('j') | base/android/apk_assets.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698