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

Side by Side Diff: chrome/browser/android/document/document_web_contents_delegate.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/android/document/document_web_contents_delegate.h" 5 #include "chrome/browser/android/document/document_web_contents_delegate.h"
6 6
7 #include "components/web_contents_delegate_android/web_contents_delegate_android .h" 7 #include "components/web_contents_delegate_android/web_contents_delegate_android .h"
8 #include "content/public/browser/web_contents.h" 8 #include "content/public/browser/web_contents.h"
9 #include "jni/DocumentWebContentsDelegate_jni.h" 9 #include "jni/DocumentWebContentsDelegate_jni.h"
10 10
11 using base::android::JavaParamRef;
12
11 DocumentWebContentsDelegate::DocumentWebContentsDelegate(JNIEnv* env, 13 DocumentWebContentsDelegate::DocumentWebContentsDelegate(JNIEnv* env,
12 jobject obj) 14 jobject obj)
13 : WebContentsDelegateAndroid(env, obj) { 15 : WebContentsDelegateAndroid(env, obj) {
14 } 16 }
15 17
16 DocumentWebContentsDelegate::~DocumentWebContentsDelegate() { 18 DocumentWebContentsDelegate::~DocumentWebContentsDelegate() {
17 } 19 }
18 20
19 void DocumentWebContentsDelegate::AttachContents( 21 void DocumentWebContentsDelegate::AttachContents(
20 JNIEnv* env, 22 JNIEnv* env,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const GURL& target_url, 55 const GURL& target_url,
54 const std::string& partition_id, 56 const std::string& partition_id,
55 content::SessionStorageNamespace* session_storage_namespace) { 57 content::SessionStorageNamespace* session_storage_namespace) {
56 NOTREACHED(); 58 NOTREACHED();
57 return false; 59 return false;
58 } 60 }
59 61
60 static jlong Initialize(JNIEnv* env, const JavaParamRef<jobject>& obj) { 62 static jlong Initialize(JNIEnv* env, const JavaParamRef<jobject>& obj) {
61 return reinterpret_cast<intptr_t>(new DocumentWebContentsDelegate(env, obj)); 63 return reinterpret_cast<intptr_t>(new DocumentWebContentsDelegate(env, obj));
62 } 64 }
OLDNEW
« no previous file with comments | « chrome/browser/android/dev_tools_server.cc ('k') | chrome/browser/android/dom_distiller/distiller_ui_handle_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698