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

Side by Side Diff: chrome/browser/chromeos/login/ui/web_view_handle.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 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 "chrome/browser/chromeos/login/ui/web_view_handle.h" 5 #include "chrome/browser/chromeos/login/ui/web_view_handle.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
8 #include "ui/views/controls/webview/webview.h" 9 #include "ui/views/controls/webview/webview.h"
9 10
10 namespace chromeos { 11 namespace chromeos {
11 12
12 WebViewHandle::WebViewHandle(Profile* profile) 13 WebViewHandle::WebViewHandle(Profile* profile)
13 : web_view_(base::MakeUnique<views::WebView>(profile)) { 14 : web_view_(base::MakeUnique<views::WebView>(profile)) {
14 web_view_->set_owned_by_client(); 15 web_view_->set_owned_by_client();
15 } 16 }
16 17
17 WebViewHandle::~WebViewHandle() {} 18 WebViewHandle::~WebViewHandle() {}
18 19
19 } // namespace chromeos 20 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698