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

Side by Side Diff: remoting/host/disconnect_window_android.cc

Issue 2253233004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 | « remoting/host/desktop_session_win.cc ('k') | remoting/host/disconnect_window_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "base/macros.h" 6 #include "base/macros.h"
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "remoting/host/host_window.h" 8 #include "remoting/host/host_window.h"
9 9
10 namespace remoting { 10 namespace remoting {
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 private: 24 private:
25 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowAndroid); 25 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowAndroid);
26 }; 26 };
27 27
28 } // namespace 28 } // namespace
29 29
30 // static 30 // static
31 std::unique_ptr<HostWindow> HostWindow::CreateDisconnectWindow() { 31 std::unique_ptr<HostWindow> HostWindow::CreateDisconnectWindow() {
32 return base::WrapUnique(new DisconnectWindowAndroid()); 32 return base::MakeUnique<DisconnectWindowAndroid>();
33 } 33 }
34 34
35 } // namespace remoting 35 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/disconnect_window_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698