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

Side by Side Diff: content/shell/browser/shell_android.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/shell.h" 5 #include "content/shell/browser/shell.h"
6 6
7 #include <jni.h> 7 #include <jni.h>
8 8
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
15 #include "content/public/common/content_switches.h" 15 #include "content/public/common/content_switches.h"
16 #include "content/shell/android/shell_manager.h" 16 #include "content/shell/android/shell_manager.h"
17 #include "jni/Shell_jni.h" 17 #include "jni/Shell_jni.h"
18 18
19 using base::android::AttachCurrentThread; 19 using base::android::AttachCurrentThread;
20 using base::android::ConvertUTF8ToJavaString; 20 using base::android::ConvertUTF8ToJavaString;
21 using base::android::JavaParamRef;
22 using base::android::ScopedJavaLocalRef;
21 23
22 namespace content { 24 namespace content {
23 25
24 void Shell::PlatformInitialize(const gfx::Size& default_window_size) { 26 void Shell::PlatformInitialize(const gfx::Size& default_window_size) {
25 } 27 }
26 28
27 void Shell::PlatformExit() { 29 void Shell::PlatformExit() {
28 } 30 }
29 31
30 void Shell::PlatformCleanUp() { 32 void Shell::PlatformCleanUp() {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 102
101 // static 103 // static
102 void CloseShell(JNIEnv* env, 104 void CloseShell(JNIEnv* env,
103 const JavaParamRef<jclass>& clazz, 105 const JavaParamRef<jclass>& clazz,
104 jlong shellPtr) { 106 jlong shellPtr) {
105 Shell* shell = reinterpret_cast<Shell*>(shellPtr); 107 Shell* shell = reinterpret_cast<Shell*>(shellPtr);
106 shell->Close(); 108 shell->Close();
107 } 109 }
108 110
109 } // namespace content 111 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/layout_test/layout_test_android.cc ('k') | content/shell/browser/shell_mojo_test_utils_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698