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

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

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 7 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 | « chrome/utility/profile_import_handler.cc ('k') | chrome/utility/shell_handler_impl_win.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 #ifndef CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_ 5 #ifndef CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
6 #define CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_ 6 #define CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/common/shell_handler_win.mojom.h" 9 #include "chrome/common/shell_handler_win.mojom.h"
10 #include "services/service_manager/public/cpp/bind_source_info.h"
10 11
11 // Implements the ShellHandler mojo interface. 12 // Implements the ShellHandler mojo interface.
12 class ShellHandlerImpl : public chrome::mojom::ShellHandler { 13 class ShellHandlerImpl : public chrome::mojom::ShellHandler {
13 public: 14 public:
14 ShellHandlerImpl(); 15 ShellHandlerImpl();
15 ~ShellHandlerImpl() override; 16 ~ShellHandlerImpl() override;
16 17
17 static void Create(chrome::mojom::ShellHandlerRequest request); 18 static void Create(const service_manager::BindSourceInfo& source_info,
19 chrome::mojom::ShellHandlerRequest request);
18 20
19 private: 21 private:
20 // chrome::mojom::ShellHandler: 22 // chrome::mojom::ShellHandler:
21 void IsPinnedToTaskbar(const IsPinnedToTaskbarCallback& callback) override; 23 void IsPinnedToTaskbar(const IsPinnedToTaskbarCallback& callback) override;
22 24
23 DISALLOW_COPY_AND_ASSIGN(ShellHandlerImpl); 25 DISALLOW_COPY_AND_ASSIGN(ShellHandlerImpl);
24 }; 26 };
25 27
26 #endif // CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_ 28 #endif // CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
OLDNEW
« no previous file with comments | « chrome/utility/profile_import_handler.cc ('k') | chrome/utility/shell_handler_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698