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

Unified Diff: chrome/utility/shell_handler_win.h

Issue 487453002: Experimentally isolate GetSaveFileName in a utility process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small cleanups. Created 6 years, 4 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
Index: chrome/utility/shell_handler_win.h
diff --git a/chrome/utility/shell_handler_win.h b/chrome/utility/shell_handler_win.h
index 10ffe72b2854364a88b6eeae33fde9864a739bc3..4a34611554ffa5be4c81f51749d8269f34a91475 100644
--- a/chrome/utility/shell_handler_win.h
+++ b/chrome/utility/shell_handler_win.h
@@ -22,6 +22,8 @@ class FilePath;
typedef std::vector<Tuple2<base::string16, base::string16> >
GetOpenFileNameFilter;
+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.
@@ -35,6 +37,7 @@ class ShellHandler : public UtilityMessageHandler {
private:
void OnOpenItemViaShell(const base::FilePath& full_path);
+
void OnGetOpenFileName(
HWND owner,
DWORD flags,
@@ -42,6 +45,8 @@ class ShellHandler : public UtilityMessageHandler {
const base::FilePath& initial_directory,
const base::FilePath& filename);
+ void OnGetSaveFileName(const ChromeUtilityMsg_GetSaveFileName_Params& params);
+
DISALLOW_COPY_AND_ASSIGN(ShellHandler);
};

Powered by Google App Engine
This is Rietveld 408576698