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

Unified Diff: components/crash/content/app/breakpad_win.cc

Issue 2031833002: Remove FilePath usage from the CrashReporterClient interface on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused constant to fix clang Created 4 years, 6 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: components/crash/content/app/breakpad_win.cc
diff --git a/components/crash/content/app/breakpad_win.cc b/components/crash/content/app/breakpad_win.cc
index 01b32bd3f34d2e8aa6661f9843dbd5ce93261943..f2bdc3f0ecc0fcb863a3c8a970ae0d181843f306 100644
--- a/components/crash/content/app/breakpad_win.cc
+++ b/components/crash/content/app/breakpad_win.cc
@@ -29,9 +29,7 @@
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
-#include "base/synchronization/lock.h"
#include "base/win/pe_image.h"
-#include "base/win/registry.h"
#include "base/win/win_util.h"
#include "breakpad/src/client/windows/common/ipc_protocol.h"
#include "breakpad/src/client/windows/handler/exception_handler.h"
@@ -539,7 +537,7 @@ void InitCrashReporter(const std::string& process_type_switch) {
GetModuleFileNameW(NULL, exe_path, MAX_PATH);
bool is_per_user_install =
- GetCrashReporterClient()->GetIsPerUserInstall(base::FilePath(exe_path));
+ GetCrashReporterClient()->GetIsPerUserInstall(exe_path);
// This is intentionally leaked.
CrashKeysWin* keeper = new CrashKeysWin();
« no previous file with comments | « chrome/installer/setup/installer_crash_reporter_client.cc ('k') | components/crash/content/app/crash_keys_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698