| 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_PRERENDER_EXTERNAL_PRERENDER_HANDLER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_EXTERNAL_PRERENDER_HANDLER_ANDROID_H_ |
| 6 #define CHROME_BROWSER_PRERENDER_EXTERNAL_PRERENDER_HANDLER_ANDROID_H_ | 6 #define CHROME_BROWSER_PRERENDER_EXTERNAL_PRERENDER_HANDLER_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 | 13 |
| 13 class GURL; | 14 class GURL; |
| 14 class Profile; | 15 class Profile; |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 class WebContents; | 18 class WebContents; |
| 18 } | 19 } |
| 19 | 20 |
| 20 namespace prerender { | 21 namespace prerender { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 private: | 53 private: |
| 53 virtual ~ExternalPrerenderHandlerAndroid(); | 54 virtual ~ExternalPrerenderHandlerAndroid(); |
| 54 scoped_ptr<prerender::PrerenderHandle> prerender_handle_; | 55 scoped_ptr<prerender::PrerenderHandle> prerender_handle_; |
| 55 | 56 |
| 56 DISALLOW_COPY_AND_ASSIGN(ExternalPrerenderHandlerAndroid); | 57 DISALLOW_COPY_AND_ASSIGN(ExternalPrerenderHandlerAndroid); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 } // namespace prerender | 60 } // namespace prerender |
| 60 | 61 |
| 61 #endif // CHROME_BROWSER_PRERENDER_EXTERNAL_PRERENDER_HANDLER_ANDROID_H_ | 62 #endif // CHROME_BROWSER_PRERENDER_EXTERNAL_PRERENDER_HANDLER_ANDROID_H_ |
| OLD | NEW |