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/shell/shell.h" | 5 #include "content/shell/shell.h" |
6 | 6 |
7 #include <jni.h> | 7 #include <jni.h> |
8 | 8 |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/string_piece.h" | 12 #include "base/string_piece.h" |
13 #include "content/shell/android/shell_manager.h" | 13 #include "content/shell/android/shell_manager.h" |
14 #include "jni/shell_jni.h" | 14 #include "jni/Shell_jni.h" |
15 | 15 |
16 using base::android::AttachCurrentThread; | 16 using base::android::AttachCurrentThread; |
17 using base::android::ConvertUTF8ToJavaString; | 17 using base::android::ConvertUTF8ToJavaString; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 base::StringPiece Shell::PlatformResourceProvider(int key) { | 21 base::StringPiece Shell::PlatformResourceProvider(int key) { |
22 return base::StringPiece(); | 22 return base::StringPiece(); |
23 } | 23 } |
24 | 24 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // TODO(tedchoc): Implement Close method for android shell | 68 // TODO(tedchoc): Implement Close method for android shell |
69 NOTIMPLEMENTED(); | 69 NOTIMPLEMENTED(); |
70 } | 70 } |
71 | 71 |
72 // static | 72 // static |
73 bool Shell::Register(JNIEnv* env) { | 73 bool Shell::Register(JNIEnv* env) { |
74 return RegisterNativesImpl(env); | 74 return RegisterNativesImpl(env); |
75 } | 75 } |
76 | 76 |
77 } // namespace content | 77 } // namespace content |
OLD | NEW |