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

Side by Side Diff: media/base/android/android_util.h

Issue 2790783002: [Clank] Add JNI interface for media persistent license storage (Closed)
Patch Set: Fix lint Created 3 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
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/android/android_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <memory>
6 #include <string>
7
8 #include "base/android/scoped_java_ref.h"
9
10 namespace media {
11
12 using JavaObjectPtr =
13 std::unique_ptr<base::android::ScopedJavaGlobalRef<jobject>>;
14
15 // Converts jbyteArray (byte[] in Java) into std::string.
16 std::string JavaBytesToString(JNIEnv* env, jbyteArray j_byte_array);
17
18 // A helper method to create a JavaObjectPtr.
19 JavaObjectPtr CreateJavaObjectPtr(jobject object);
20
21 } // namespace media
OLDNEW
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/android/android_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698