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

Side by Side Diff: chrome/utility/shell_handler_impl_win.cc

Issue 2479773002: Add chrome namespace to chrome/common/shell_handler_win.mojom (Closed)
Patch Set: Add chrome namespace to chrome/common/shell_handler_win.mojom Created 4 years, 1 month 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 | « chrome/utility/shell_handler_impl_win.h ('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 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"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 return false; 205 return false;
206 } 206 }
207 207
208 } // namespace 208 } // namespace
209 209
210 ShellHandlerImpl::ShellHandlerImpl() = default; 210 ShellHandlerImpl::ShellHandlerImpl() = default;
211 211
212 ShellHandlerImpl::~ShellHandlerImpl() = default; 212 ShellHandlerImpl::~ShellHandlerImpl() = default;
213 213
214 // static 214 // static
215 void ShellHandlerImpl::Create(mojom::ShellHandlerRequest request) { 215 void ShellHandlerImpl::Create(chrome::mojom::ShellHandlerRequest request) {
216 mojo::MakeStrongBinding(base::MakeUnique<ShellHandlerImpl>(), 216 mojo::MakeStrongBinding(base::MakeUnique<ShellHandlerImpl>(),
217 std::move(request)); 217 std::move(request));
218 } 218 }
219 219
220 void ShellHandlerImpl::IsPinnedToTaskbar( 220 void ShellHandlerImpl::IsPinnedToTaskbar(
221 const IsPinnedToTaskbarCallback& callback) { 221 const IsPinnedToTaskbarCallback& callback) {
222 IsPinnedToTaskbarHelper helper; 222 IsPinnedToTaskbarHelper helper;
223 bool is_pinned_to_taskbar = helper.GetResult(); 223 bool is_pinned_to_taskbar = helper.GetResult();
224 callback.Run(!helper.error_occured(), is_pinned_to_taskbar); 224 callback.Run(!helper.error_occured(), is_pinned_to_taskbar);
225 } 225 }
OLDNEW
« no previous file with comments | « chrome/utility/shell_handler_impl_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698