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

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

Issue 1255073002: clang/win: Fix most -Wunused-function warnings in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac Created 5 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
Index: components/crash/app/breakpad_win.cc
diff --git a/components/crash/app/breakpad_win.cc b/components/crash/app/breakpad_win.cc
index bee4fab757feb8c6df1bb999d38a92187fe72c8b..05a29ae8b7400aac30cfea3e5583c39f84d4f58b 100644
--- a/components/crash/app/breakpad_win.cc
+++ b/components/crash/app/breakpad_win.cc
@@ -287,6 +287,7 @@ long WINAPI ServiceExceptionFilter(EXCEPTION_POINTERS* info) {
return EXCEPTION_EXECUTE_HANDLER;
}
+#if !defined(COMPONENT_BUILD)
// Installed via base::debug::SetCrashKeyReportingFunctions.
void SetCrashKeyValueForBaseDebug(const base::StringPiece& key,
const base::StringPiece& value) {
@@ -300,6 +301,7 @@ void ClearCrashKeyForBaseDebug(const base::StringPiece& key) {
DCHECK(CrashKeysWin::keeper());
CrashKeysWin::keeper()->ClearCrashKeyValue(base::UTF8ToUTF16(key));
}
+#endif // !defined(COMPONENT_BUILD)
} // namespace

Powered by Google App Engine
This is Rietveld 408576698