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

Side by Side Diff: chrome/browser/android/omnibox/omnibox_prerender.h

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix android webview build issues. Created 6 years, 8 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 #ifndef CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_
6 #define CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ 6 #define CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_
7 7
8 #include "base/android/jni_helper.h" 8 #include "base/android/jni_helper.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 // Prerenders a given AutocompleteMatch's url. 59 // Prerenders a given AutocompleteMatch's url.
60 void DoPrerender(const AutocompleteMatch& match, 60 void DoPrerender(const AutocompleteMatch& match,
61 Profile* profile, 61 Profile* profile,
62 content::WebContents* web_contents); 62 content::WebContents* web_contents);
63 JavaObjectWeakGlobalRef weak_java_omnibox_; 63 JavaObjectWeakGlobalRef weak_java_omnibox_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(OmniboxPrerender); 65 DISALLOW_COPY_AND_ASSIGN(OmniboxPrerender);
66 }; 66 };
67 67
68 bool RegisterOmniboxPrerender(JNIEnv* env);
69
70 #endif // CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ 68 #endif // CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698