| OLD | NEW |
| 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_weak_ref.h" | 8 #include "base/android/jni_weak_ref.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 11 | 12 |
| 12 class AutocompleteResult; | 13 class AutocompleteResult; |
| 13 class ProfielAndroid; | 14 class ProfielAndroid; |
| 14 class Profile; | 15 class Profile; |
| 15 class TabAndroid; | 16 class TabAndroid; |
| 16 struct AutocompleteMatch; | 17 struct AutocompleteMatch; |
| 17 | 18 |
| 18 namespace content { | 19 namespace content { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 Profile* profile, | 66 Profile* profile, |
| 66 content::WebContents* web_contents); | 67 content::WebContents* web_contents); |
| 67 JavaObjectWeakGlobalRef weak_java_omnibox_; | 68 JavaObjectWeakGlobalRef weak_java_omnibox_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(OmniboxPrerender); | 70 DISALLOW_COPY_AND_ASSIGN(OmniboxPrerender); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 bool RegisterOmniboxPrerender(JNIEnv* env); | 73 bool RegisterOmniboxPrerender(JNIEnv* env); |
| 73 | 74 |
| 74 #endif // CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ | 75 #endif // CHROME_BROWSER_ANDROID_OMNIBOX_OMNIBOX_PRERENDER_H_ |
| OLD | NEW |