Index: chrome/utility/ipc_shell_handler_win.cc |
diff --git a/chrome/utility/shell_handler_win.cc b/chrome/utility/ipc_shell_handler_win.cc |
similarity index 74% |
rename from chrome/utility/shell_handler_win.cc |
rename to chrome/utility/ipc_shell_handler_win.cc |
index 6433b99410f17b32ce5a958a938c89f39d5fdb95..55786e051a776c10019c3ef1120949ef5b917168 100644 |
--- a/chrome/utility/shell_handler_win.cc |
+++ b/chrome/utility/ipc_shell_handler_win.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/utility/shell_handler_win.h" |
+#include "chrome/utility/ipc_shell_handler_win.h" |
#include <commdlg.h> |
@@ -13,27 +13,24 @@ |
#include "content/public/utility/utility_thread.h" |
#include "ui/base/win/open_file_name_win.h" |
-ShellHandler::ShellHandler() {} |
-ShellHandler::~ShellHandler() {} |
+IPCShellHandler::IPCShellHandler() {} |
+IPCShellHandler::~IPCShellHandler() {} |
-bool ShellHandler::OnMessageReceived(const IPC::Message& message) { |
+bool IPCShellHandler::OnMessageReceived(const IPC::Message& message) { |
bool handled = true; |
- IPC_BEGIN_MESSAGE_MAP(ShellHandler, message) |
- IPC_MESSAGE_HANDLER(ChromeUtilityMsg_GetOpenFileName, |
- OnGetOpenFileName) |
- IPC_MESSAGE_HANDLER(ChromeUtilityMsg_GetSaveFileName, |
- OnGetSaveFileName) |
+ IPC_BEGIN_MESSAGE_MAP(IPCShellHandler, message) |
+ IPC_MESSAGE_HANDLER(ChromeUtilityMsg_GetOpenFileName, OnGetOpenFileName) |
+ IPC_MESSAGE_HANDLER(ChromeUtilityMsg_GetSaveFileName, OnGetSaveFileName) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
} |
-void ShellHandler::OnGetOpenFileName( |
- HWND owner, |
- DWORD flags, |
- const GetOpenFileNameFilter& filter, |
- const base::FilePath& initial_directory, |
- const base::FilePath& filename) { |
+void IPCShellHandler::OnGetOpenFileName(HWND owner, |
+ DWORD flags, |
+ const GetOpenFileNameFilter& filter, |
+ const base::FilePath& initial_directory, |
+ const base::FilePath& filename) { |
ui::win::OpenFileName open_file_name(owner, flags); |
open_file_name.SetInitialSelection(initial_directory, filename); |
open_file_name.SetFilters(filter); |
@@ -53,7 +50,7 @@ void ShellHandler::OnGetOpenFileName( |
} |
} |
-void ShellHandler::OnGetSaveFileName( |
+void IPCShellHandler::OnGetSaveFileName( |
const ChromeUtilityMsg_GetSaveFileName_Params& params) { |
ui::win::OpenFileName open_file_name(params.owner, params.flags); |
open_file_name.SetInitialSelection(params.initial_directory, |