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

Side by Side Diff: chrome/browser/spellchecker/spellchecker_session_bridge_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 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 #include "chrome/browser/spellchecker/spellchecker_session_bridge_android.h" 5 #include "chrome/browser/spellchecker/spellchecker_session_bridge_android.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
11 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
12 #include "components/spellcheck/common/spellcheck_messages.h" 12 #include "components/spellcheck/common/spellcheck_messages.h"
13 #include "components/spellcheck/common/spellcheck_result.h" 13 #include "components/spellcheck/common/spellcheck_result.h"
14 #include "content/public/browser/render_process_host.h" 14 #include "content/public/browser/render_process_host.h"
15 #include "jni/SpellCheckerSessionBridge_jni.h" 15 #include "jni/SpellCheckerSessionBridge_jni.h"
16 16
17 using base::android::JavaParamRef;
18
17 SpellCheckerSessionBridge::SpellCheckerSessionBridge(int render_process_id) 19 SpellCheckerSessionBridge::SpellCheckerSessionBridge(int render_process_id)
18 : render_process_id_(render_process_id) {} 20 : render_process_id_(render_process_id) {}
19 21
20 SpellCheckerSessionBridge::~SpellCheckerSessionBridge() {} 22 SpellCheckerSessionBridge::~SpellCheckerSessionBridge() {}
21 23
22 // static 24 // static
23 bool SpellCheckerSessionBridge::RegisterJNI(JNIEnv* env) { 25 bool SpellCheckerSessionBridge::RegisterJNI(JNIEnv* env) {
24 return RegisterNativesImpl(env); 26 return RegisterNativesImpl(env);
25 } 27 }
26 28
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 java_object_.Reset(); 105 java_object_.Reset();
104 } 106 }
105 107
106 SpellCheckerSessionBridge::SpellingRequest::SpellingRequest( 108 SpellCheckerSessionBridge::SpellingRequest::SpellingRequest(
107 int route_id, 109 int route_id,
108 int identifier, 110 int identifier,
109 const base::string16& text) 111 const base::string16& text)
110 : route_id(route_id), identifier(identifier), text(text) {} 112 : route_id(route_id), identifier(identifier), text(text) {}
111 113
112 SpellCheckerSessionBridge::SpellingRequest::~SpellingRequest() {} 114 SpellCheckerSessionBridge::SpellingRequest::~SpellingRequest() {}
OLDNEW
« no previous file with comments | « chrome/browser/speech/tts_android.cc ('k') | chrome/browser/ssl/security_state_model_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698