Index: chrome_elf/chrome_elf_main.cc |
diff --git a/chrome_elf/chrome_elf_main.cc b/chrome_elf/chrome_elf_main.cc |
index e2b57aa56e34d6d911d29d8b1d9dea359507900c..b5c4b86e4a09dde275d63655fac8677db9e67e83 100644 |
--- a/chrome_elf/chrome_elf_main.cc |
+++ b/chrome_elf/chrome_elf_main.cc |
@@ -108,6 +108,11 @@ extern "C" __declspec(dllexport) void SetMetricsClientId( |
crash_keys::SetMetricsClientIdFromGUID(client_id); |
} |
+// This helper is invoked by chrome to read upload settings. |
+extern "C" __declspec(dllexport) bool GetUploadsEnabled() { |
+ return crash_reporter::GetUploadsEnabled(); |
+} |
+ |
BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) { |
if (reason == DLL_PROCESS_ATTACH) { |
InitializeCrashReportingForProcess(); |