| OLD | NEW |
| 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 "components/dom_distiller/content/browser/distillable_page_utils_androi
d.h" | 5 #include "components/dom_distiller/content/browser/distillable_page_utils_androi
d.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "components/dom_distiller/content/browser/distillable_page_utils.h" | 9 #include "components/dom_distiller/content/browser/distillable_page_utils.h" |
| 10 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 return; | 42 return; |
| 43 } | 43 } |
| 44 IsDistillablePage( | 44 IsDistillablePage( |
| 45 web_contents, is_mobile_optimized, | 45 web_contents, is_mobile_optimized, |
| 46 base::Bind(OnIsPageDistillableResult, base::Passed(&callback_holder))); | 46 base::Bind(OnIsPageDistillableResult, base::Passed(&callback_holder))); |
| 47 } | 47 } |
| 48 | 48 |
| 49 bool RegisterDistillablePageUtils(JNIEnv* env) { | 49 bool RegisterDistillablePageUtils(JNIEnv* env) { |
| 50 return RegisterNativesImpl(env); | 50 return RegisterNativesImpl(env); |
| 51 } | 51 } |
| 52 | |
| 53 } | 52 } |
| 54 } | 53 } |
| OLD | NEW |