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

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

Issue 2079233004: Add the Windows.IsPinnedToTaskbar metric. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Grt's comments Created 4 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
6 #define CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
7
8 #include "base/macros.h"
9 #include "chrome/common/shell_handler_win.mojom.h"
10 #include "mojo/public/cpp/bindings/strong_binding.h"
11
12 // Implements the ShellHandler mojo interface.
13 class ShellHandlerImpl : public mojom::ShellHandler {
gab 2016/06/28 20:59:18 How is this related to "class ShellHandler"? I'm n
Patrick Monette 2016/06/28 23:22:25 ShellHandler is the deprecated IPC version that ne
gab 2016/06/30 15:28:11 Got it, can you rename the old one then? IPCShellH
14 public:
15 static void Create(mojom::ShellHandlerRequest request);
16
17 private:
18 explicit ShellHandlerImpl(mojom::ShellHandlerRequest request);
19 ~ShellHandlerImpl() override;
20
21 // mojom::ShellHandler:
22 void IsPinnedToTaskbar(const IsPinnedToTaskbarCallback& callback) override;
23
24 mojo::StrongBinding<ShellHandler> binding_;
25
26 DISALLOW_COPY_AND_ASSIGN(ShellHandlerImpl);
27 };
28
29 #endif // CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698