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

Side by Side Diff: ui/snapshot/snapshot_async.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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
« no previous file with comments | « ui/snapshot/snapshot_android.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ 5 #ifndef UI_SNAPSHOT_SNAPSHOT_ASYNC_H_
6 #define UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ 6 #define UI_SNAPSHOT_SNAPSHOT_ASYNC_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
9 #include "cc/output/copy_output_result.h" 10 #include "cc/output/copy_output_result.h"
10 #include "ui/snapshot/snapshot.h" 11 #include "ui/snapshot/snapshot.h"
11 12
12 namespace base { 13 namespace base {
13 class TaskRunner; 14 class TaskRunner;
14 } 15 }
15 16
16 namespace gfx { 17 namespace gfx {
17 class Size; 18 class Size;
18 } 19 }
(...skipping 15 matching lines...) Expand all
34 scoped_refptr<base::TaskRunner> background_task_runner, 35 scoped_refptr<base::TaskRunner> background_task_runner,
35 scoped_ptr<cc::CopyOutputResult> result); 36 scoped_ptr<cc::CopyOutputResult> result);
36 37
37 private: 38 private:
38 DISALLOW_IMPLICIT_CONSTRUCTORS(SnapshotAsync); 39 DISALLOW_IMPLICIT_CONSTRUCTORS(SnapshotAsync);
39 }; 40 };
40 41
41 } // namespace ui 42 } // namespace ui
42 43
43 #endif // UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ 44 #endif // UI_SNAPSHOT_SNAPSHOT_ASYNC_H_
OLDNEW
« no previous file with comments | « ui/snapshot/snapshot_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698