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

Unified Diff: chrome/common/child_process_logging.h

Issue 23471007: Set active extension IDs for crash reports using the crash key logging system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 3 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 | « chrome/browser/extensions/extension_service.cc ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_logging.h
diff --git a/chrome/common/child_process_logging.h b/chrome/common/child_process_logging.h
index d0a53276e03bd2298f3c1853d9920d8f360ed615..fe4d969abf1cb73e532bc4a883ae00666e120f29 100644
--- a/chrome/common/child_process_logging.h
+++ b/chrome/common/child_process_logging.h
@@ -15,11 +15,6 @@
class CommandLine;
-// The maximum number of active extensions we will report.
-// Also used in chrome/app, but we define it here to avoid a common->app
-// dependency.
-static const size_t kMaxReportedActiveExtensions = 10;
-
// The maximum number of variation chunks we will report.
// Also used in chrome/app, but we define it here to avoid a common->app
// dependency.
@@ -47,8 +42,6 @@ namespace child_process_logging {
// compromised context without going through the standard library.
extern char g_channel[];
extern char g_client_id[];
-extern char g_extension_ids[];
-extern char g_num_extensions[];
extern char g_num_switches[];
extern char g_num_variations[];
extern char g_num_views[];
@@ -56,9 +49,6 @@ extern char g_printer_info[];
extern char g_switches[];
extern char g_variation_chunks[];
-// Assume IDs are 32 bytes long.
-static const size_t kExtensionLen = 32;
-
// Assume command line switches are less than 64 chars.
static const size_t kSwitchLen = 64;
@@ -73,14 +63,6 @@ void SetClientId(const std::string& client_id);
// id in |client_id| if it's known, an empty string otherwise.
std::string GetClientId();
-// Sets the list of "active" extensions in this process. We overload "active" to
-// mean different things depending on the process type:
-// - browser: all enabled extensions
-// - renderer: the unique set of extension ids from all content scripts
-// - extension: the id of each extension running in this process (there can be
-// multiple because of process collapsing).
-void SetActiveExtensions(const std::set<std::string>& extension_ids);
-
// Sets a number of views/tabs opened in this process.
void SetNumberOfViews(int number_of_views);
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698