diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-07 02:53:45 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-07 02:53:45 +0000 |
commit | f6431be8495f8846fd850c00e806b6198e23988b (patch) | |
tree | ae4e039b5c2758bfb64fcb0f8b1bb016ba4c3bb4 /chrome/common/child_process_logging.h | |
parent | 54736e3fbf8cbf13b34dfcb6c5238bf4c6995224 (diff) | |
download | chromium_src-f6431be8495f8846fd850c00e806b6198e23988b.zip chromium_src-f6431be8495f8846fd850c00e806b6198e23988b.tar.gz chromium_src-f6431be8495f8846fd850c00e806b6198e23988b.tar.bz2 |
Set active extension IDs for crash reports using the crash key logging system.
BUG=77656
Review URL: https://chromiumcodereview.appspot.com/23471007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_logging.h')
-rw-r--r-- | chrome/common/child_process_logging.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/common/child_process_logging.h b/chrome/common/child_process_logging.h index d0a5327..fe4d969a 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); |