Index: chrome/common/child_process_logging.h |
diff --git a/chrome/common/child_process_logging.h b/chrome/common/child_process_logging.h |
index aa336af1870f904cf6705a2d085bf9a04cc4b393..513359f25ea2c83ab77a358298b48822025bb399 100644 |
--- a/chrome/common/child_process_logging.h |
+++ b/chrome/common/child_process_logging.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ |
#define CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ |
+#include <vector> |
+ |
#include "base/basictypes.h" |
#include "googleurl/src/gurl.h" |
@@ -17,6 +19,14 @@ void SetActiveURL(const GURL& url); |
// Sets the Client ID that is used as GUID if a Chrome process crashes. |
void SetClientId(const std::string& client_id); |
+// 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::vector<std::string>& extension_ids); |
+ |
// Simple wrapper class that sets the active URL in it's constructor and clears |
// the active URL in the destructor. |
class ScopedActiveURLSetter { |