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

Unified Diff: chrome/utility/ipc_shell_handler_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/chrome_content_utility_client.cc ('k') | chrome/utility/ipc_shell_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/ipc_shell_handler_win.h
diff --git a/chrome/utility/shell_handler_win.h b/chrome/utility/ipc_shell_handler_win.h
similarity index 57%
rename from chrome/utility/shell_handler_win.h
rename to chrome/utility/ipc_shell_handler_win.h
index 1276572cda1bb2ccb3a9c6afeb04651659a62bba..5c71df7bdfc3aaa9aae701a4b36219760076f42f 100644
--- a/chrome/utility/shell_handler_win.h
+++ b/chrome/utility/ipc_shell_handler_win.h
@@ -2,8 +2,8 @@
// 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_WIN_H_
-#define CHROME_UTILITY_SHELL_HANDLER_WIN_H_
+#ifndef CHROME_UTILITY_IPC_SHELL_HANDLER_WIN_H_
+#define CHROME_UTILITY_IPC_SHELL_HANDLER_WIN_H_
#include <Windows.h>
@@ -27,25 +27,27 @@ struct ChromeUtilityMsg_GetSaveFileName_Params;
// Handles requests to execute shell operations. Used to protect the browser
// process from instability due to 3rd-party shell extensions. Must be invoked
// in a non-sandboxed utility process.
-class ShellHandler : public UtilityMessageHandler {
+// Note: This class is deprecated in favor of the Mojo version.
+// See chrome/common/shell_handler_win.mojom and
+// chrome/utility/shell_handler_impl_win.h
+class IPCShellHandler : public UtilityMessageHandler {
public:
- ShellHandler();
- ~ShellHandler() override;
+ IPCShellHandler();
+ ~IPCShellHandler() override;
// IPC::Listener implementation
bool OnMessageReceived(const IPC::Message& message) override;
private:
- void OnGetOpenFileName(
- HWND owner,
- DWORD flags,
- const GetOpenFileNameFilter& filter,
- const base::FilePath& initial_directory,
- const base::FilePath& filename);
+ void OnGetOpenFileName(HWND owner,
+ DWORD flags,
+ const GetOpenFileNameFilter& filter,
+ const base::FilePath& initial_directory,
+ const base::FilePath& filename);
void OnGetSaveFileName(const ChromeUtilityMsg_GetSaveFileName_Params& params);
- DISALLOW_COPY_AND_ASSIGN(ShellHandler);
+ DISALLOW_COPY_AND_ASSIGN(IPCShellHandler);
};
-#endif // CHROME_UTILITY_SHELL_HANDLER_WIN_H_
+#endif // CHROME_UTILITY_IPC_SHELL_HANDLER_WIN_H_
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/ipc_shell_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698