| Index: components/crash/content/app/crashpad.h
|
| diff --git a/components/crash/content/app/crashpad.h b/components/crash/content/app/crashpad.h
|
| index ada0eaec733beb3026f6f0850f7805fbba5d84f9..91f498557abc0ca84610af8b0bebb3486c51c397 100644
|
| --- a/components/crash/content/app/crashpad.h
|
| +++ b/components/crash/content/app/crashpad.h
|
| @@ -59,9 +59,11 @@ void InitializeCrashpad(bool initial_client, const std::string& process_type);
|
| #if defined(OS_WIN)
|
| // This is the same as InitializeCrashpad(), but rather than launching a
|
| // crashpad_handler executable, relaunches the current executable with a command
|
| -// line argument of --type=crashpad-handler.
|
| +// line argument of --type=crashpad-handler. If user_data_dir is non-empty, it
|
| +// is added to the handler's command line for use by Chrome Crashpad extensions.
|
| void InitializeCrashpadWithEmbeddedHandler(bool initial_client,
|
| - const std::string& process_type);
|
| + const std::string& process_type,
|
| + const std::string& user_data_dir);
|
| #endif // OS_WIN
|
|
|
| // Returns the CrashpadClient for this process. This will lazily create it if
|
| @@ -116,11 +118,14 @@ void GetPlatformCrashpadAnnotations(
|
| std::map<std::string, std::string>* annotations);
|
| #endif // defined(OS_WIN)
|
|
|
| -// The platform-specific portion of InitializeCrashpad().
|
| +// The platform-specific portion of InitializeCrashpad(). On windows, if
|
| +// user_data_dir is non-empty, the user data directory will be passed to the
|
| +// handler process for use by Chrome Crashpad extensions.
|
| // Returns the database path, if initializing in the browser process.
|
| base::FilePath PlatformCrashpadInitialization(bool initial_client,
|
| bool browser_process,
|
| - bool embedded_handler);
|
| + bool embedded_handler,
|
| + const std::string& user_data_dir);
|
|
|
| } // namespace internal
|
|
|
|
|