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

Side by Side Diff: components/spellcheck/browser/spellchecker_session_bridge_android.h

Issue 2244083002: Componentize spellcheck [4]: spellcheck/browser and android java-side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ 5 #ifndef COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ 6 #define COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/android/scoped_java_ref.h" 12 #include "base/android/scoped_java_ref.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 15
16 // A class used to interface between the Java class of the same name and the 16 // A class used to interface between the Java class of the same name and the
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 std::unique_ptr<SpellingRequest> active_request_; 56 std::unique_ptr<SpellingRequest> active_request_;
57 std::unique_ptr<SpellingRequest> pending_request_; 57 std::unique_ptr<SpellingRequest> pending_request_;
58 58
59 base::android::ScopedJavaGlobalRef<jobject> java_object_; 59 base::android::ScopedJavaGlobalRef<jobject> java_object_;
60 bool java_object_initialization_failed_; 60 bool java_object_initialization_failed_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSessionBridge); 62 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSessionBridge);
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ 65 #endif // COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698