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

Unified 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: Constexpr TimeDelta Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/utility/ipc_shell_handler_win.cc ('k') | chrome/utility/shell_handler_impl_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/shell_handler_impl_win.h
diff --git a/chrome/utility/shell_handler_impl_win.h b/chrome/utility/shell_handler_impl_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..224812e5dbddeaecf7cb32c8d021797761313477
--- /dev/null
+++ b/chrome/utility/shell_handler_impl_win.h
@@ -0,0 +1,29 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
+#define CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
+
+#include "base/macros.h"
+#include "chrome/common/shell_handler_win.mojom.h"
+#include "mojo/public/cpp/bindings/strong_binding.h"
+
+// Implements the ShellHandler mojo interface.
+class ShellHandlerImpl : public mojom::ShellHandler {
+ public:
+ static void Create(mojom::ShellHandlerRequest request);
+
+ private:
+ explicit ShellHandlerImpl(mojom::ShellHandlerRequest request);
+ ~ShellHandlerImpl() override;
+
+ // mojom::ShellHandler:
+ void IsPinnedToTaskbar(const IsPinnedToTaskbarCallback& callback) override;
+
+ mojo::StrongBinding<ShellHandler> binding_;
+
+ DISALLOW_COPY_AND_ASSIGN(ShellHandlerImpl);
+};
+
+#endif // CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
« no previous file with comments | « chrome/utility/ipc_shell_handler_win.cc ('k') | chrome/utility/shell_handler_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698