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

Unified Diff: chrome/renderer/user_script_slave.cc

Issue 448006: Revert 33255 - Report active extensions in crash reports. This only implement... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/user_script_slave.cc
===================================================================
--- chrome/renderer/user_script_slave.cc (revision 33268)
+++ chrome/renderer/user_script_slave.cc (working copy)
@@ -5,15 +5,12 @@
#include "chrome/renderer/user_script_slave.h"
#include "app/resource_bundle.h"
-#include "base/command_line.h"
#include "base/histogram.h"
#include "base/logging.h"
#include "base/perftimer.h"
#include "base/pickle.h"
#include "base/shared_memory.h"
#include "base/string_util.h"
-#include "chrome/common/child_process_logging.h"
-#include "chrome/common/chrome_switches.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_constants.h"
#include "chrome/renderer/extension_groups.h"
@@ -114,24 +111,6 @@
}
}
- // Update the crash reporter with all loaded extensions. In single process,
- // this has already been done in the browser code.
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess)) {
- std::vector<std::string> extension_ids;
- for (size_t i = 0; i < num_scripts; ++i) {
- DCHECK(!scripts_[i]->extension_id().empty());
-
- // We must check this because there can be multiple scripts from a single
- // extension. n^2, but meh, it's a small list.
- if (std::find(extension_ids.begin(), extension_ids.end(),
- scripts_[i]->extension_id()) == extension_ids.end()) {
- extension_ids.push_back(scripts_[i]->extension_id());
- }
- }
-
- child_process_logging::SetActiveExtensions(extension_ids);
- }
-
return true;
}
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698