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

Side by Side Diff: chrome/utility/shell_handler_impl_win.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/utility/shell_handler_impl_win.h" 5 #include "chrome/utility/shell_handler_impl_win.h"
6 6
7 #include <shldisp.h> 7 #include <shldisp.h>
8 8
9 #include "base/files/file_enumerator.h" 9 #include "base/files/file_enumerator.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/memory/ptr_util.h"
11 #include "base/path_service.h" 12 #include "base/path_service.h"
12 #include "base/scoped_native_library.h" 13 #include "base/scoped_native_library.h"
13 #include "base/win/scoped_bstr.h" 14 #include "base/win/scoped_bstr.h"
14 #include "base/win/scoped_com_initializer.h" 15 #include "base/win/scoped_com_initializer.h"
15 #include "base/win/scoped_comptr.h" 16 #include "base/win/scoped_comptr.h"
16 #include "base/win/scoped_variant.h" 17 #include "base/win/scoped_variant.h"
17 #include "base/win/shortcut.h" 18 #include "base/win/shortcut.h"
18 #include "chrome/installer/util/install_util.h" 19 #include "chrome/installer/util/install_util.h"
19 #include "content/public/utility/utility_thread.h" 20 #include "content/public/utility/utility_thread.h"
20 #include "mojo/public/cpp/bindings/strong_binding.h" 21 #include "mojo/public/cpp/bindings/strong_binding.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 mojo::MakeStrongBinding(base::MakeUnique<ShellHandlerImpl>(), 218 mojo::MakeStrongBinding(base::MakeUnique<ShellHandlerImpl>(),
218 std::move(request)); 219 std::move(request));
219 } 220 }
220 221
221 void ShellHandlerImpl::IsPinnedToTaskbar( 222 void ShellHandlerImpl::IsPinnedToTaskbar(
222 const IsPinnedToTaskbarCallback& callback) { 223 const IsPinnedToTaskbarCallback& callback) {
223 IsPinnedToTaskbarHelper helper; 224 IsPinnedToTaskbarHelper helper;
224 bool is_pinned_to_taskbar = helper.GetResult(); 225 bool is_pinned_to_taskbar = helper.GetResult();
225 callback.Run(!helper.error_occured(), is_pinned_to_taskbar); 226 callback.Run(!helper.error_occured(), is_pinned_to_taskbar);
226 } 227 }
OLDNEW
« no previous file with comments | « chrome/utility/profile_import_handler.cc ('k') | chromecast/browser/cast_media_blocker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698