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

Side by Side Diff: content/browser/web_contents/web_contents_android.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory>
11
10 #include "base/android/jni_android.h" 12 #include "base/android/jni_android.h"
11 #include "base/android/scoped_java_ref.h" 13 #include "base/android/scoped_java_ref.h"
12 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
13 #include "base/macros.h" 15 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
16 #include "base/supports_user_data.h" 17 #include "base/supports_user_data.h"
17 #include "content/browser/frame_host/navigation_controller_android.h" 18 #include "content/browser/frame_host/navigation_controller_android.h"
18 #include "content/browser/renderer_host/render_widget_host_view_android.h" 19 #include "content/browser/renderer_host/render_widget_host_view_android.h"
19 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
20 21
21 namespace content { 22 namespace content {
22 23
23 class SynchronousCompositorClient; 24 class SynchronousCompositorClient;
24 class WebContents; 25 class WebContents;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 SynchronousCompositorClient* synchronous_compositor_client_; 207 SynchronousCompositorClient* synchronous_compositor_client_;
207 208
208 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; 209 base::WeakPtrFactory<WebContentsAndroid> weak_factory_;
209 210
210 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); 211 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid);
211 }; 212 };
212 213
213 } // namespace content 214 } // namespace content
214 215
215 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 216 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/aura/shadow_layer_delegate.h ('k') | content/browser/web_contents/web_contents_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698