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

Side by Side Diff: chrome/browser/android/blimp/chrome_blimp_client_context_delegate_android.h

Issue 2623023002: Remove //chrome as an embedder of blimp. (Closed)
Patch Set: One more rebase for good measure Created 3 years, 11 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
(Empty)
1 // Copyright 2016 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 #ifndef CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_ANDROI D_H_
6 #define CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_ANDROI D_H_
7
8 #include "base/android/jni_android.h"
9 #include "base/android/scoped_java_ref.h"
10 #include "base/macros.h"
11 #include "chrome/browser/android/blimp/chrome_blimp_client_context_delegate.h"
12
13 // Android implementation of ChromeBlimpClientContextDelegate which is partly
14 // backed by Java.
15 class ChromeBlimpClientContextDelegateAndroid
16 : public ChromeBlimpClientContextDelegate {
17 public:
18 static bool RegisterJni(JNIEnv* env);
19
20 ChromeBlimpClientContextDelegateAndroid(JNIEnv* env,
21 jobject jobj,
22 Profile* profile);
23 ~ChromeBlimpClientContextDelegateAndroid() override;
24
25 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj);
26
27 private:
28 // ChromeBlimpClientContextDelegate implementation.
29 void ShowMessage(const base::string16& message, bool short_message) override;
30
31 base::android::ScopedJavaGlobalRef<jobject> java_obj_;
32
33 DISALLOW_COPY_AND_ASSIGN(ChromeBlimpClientContextDelegateAndroid);
34 };
35
36 #endif // CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_AND ROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698