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

Side by Side Diff: components/dom_distiller/content/browser/distillable_page_utils_android.cc

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 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 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/memory/scoped_ptr.h"
8 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
9 #include "components/dom_distiller/content/browser/distillable_page_utils.h" 10 #include "components/dom_distiller/content/browser/distillable_page_utils.h"
10 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
11 #include "jni/DistillablePageUtils_jni.h" 12 #include "jni/DistillablePageUtils_jni.h"
12 13
13 using base::android::ScopedJavaGlobalRef; 14 using base::android::ScopedJavaGlobalRef;
14 15
15 namespace dom_distiller { 16 namespace dom_distiller {
16 namespace android { 17 namespace android {
17 namespace { 18 namespace {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 base::Bind(OnIsPageDistillableUpdate, base::Owned(callback_holder)); 74 base::Bind(OnIsPageDistillableUpdate, base::Owned(callback_holder));
74 setDelegate(web_contents, delegate); 75 setDelegate(web_contents, delegate);
75 } 76 }
76 77
77 bool RegisterDistillablePageUtils(JNIEnv* env) { 78 bool RegisterDistillablePageUtils(JNIEnv* env) {
78 return RegisterNativesImpl(env); 79 return RegisterNativesImpl(env);
79 } 80 }
80 81
81 } 82 }
82 } 83 }
OLDNEW
« no previous file with comments | « chromeos/timezone/timezone_resolver.h ('k') | components/translate/ios/browser/ios_translate_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698