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

Unified Diff: trunk/src/chrome/renderer/chrome_content_renderer_client.cc

Issue 163633005: Revert 250828 "Add a UMA stat to track if the Browser blacklist ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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
« no previous file with comments | « trunk/src/chrome/renderer/DEPS ('k') | trunk/src/chrome/unit_tests.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/renderer/chrome_content_renderer_client.cc
===================================================================
--- trunk/src/chrome/renderer/chrome_content_renderer_client.cc (revision 251093)
+++ trunk/src/chrome/renderer/chrome_content_renderer_client.cc (working copy)
@@ -116,10 +116,6 @@
#include "chrome/renderer/spellchecker/spellcheck_provider.h"
#endif
-#if defined(OS_WIN)
-#include "chrome_elf/blacklist/blacklist.h"
-#endif // OS_WIN
-
using autofill::AutofillAgent;
using autofill::PasswordAutofillAgent;
using autofill::PasswordGenerationAgent;
@@ -357,19 +353,6 @@
extensions::ExtensionsClient::Set(
extensions::ChromeExtensionsClient::GetInstance());
-
-#if defined(OS_WIN)
- // Report if the renderer process has been patched by chrome_elf.
- // TODO(csharp): Remove once the renderer is no longer getting
- // patched this way.
- typedef bool(*IsBlacklistInitializedFunc)();
- IsBlacklistInitializedFunc is_blacklist_initialized =
- reinterpret_cast<IsBlacklistInitializedFunc>(
- GetProcAddress(GetModuleHandle(L"chrome_elf.dll"),
- "IsBlacklistInitialized"));
- if (is_blacklist_initialized())
- UMA_HISTOGRAM_BOOLEAN("Blacklist.PatchedInRenderer", true);
-#endif
}
void ChromeContentRendererClient::RenderFrameCreated(
« no previous file with comments | « trunk/src/chrome/renderer/DEPS ('k') | trunk/src/chrome/unit_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698