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

Unified Diff: extensions/browser/info_map.h

Issue 2881453002: DNR Prototype: With flatbuffers
Patch Set: -- Created 3 years, 6 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 | « extensions/browser/guest_view/web_view/BUILD.gn ('k') | extensions/browser/info_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/info_map.h
diff --git a/extensions/browser/info_map.h b/extensions/browser/info_map.h
index e77b4b5880ea6d411350dedc9d94b4aebca902db..ed80f124a1745d79be153d45d88bc353ae83c526 100644
--- a/extensions/browser/info_map.h
+++ b/extensions/browser/info_map.h
@@ -10,6 +10,7 @@
#include "base/memory/ref_counted.h"
#include "base/time/time.h"
+#include "extensions/browser/api/declarative_net_request/ruleset_manager.h"
#include "extensions/browser/process_map.h"
#include "extensions/browser/quota_service.h"
#include "extensions/common/extension_set.h"
@@ -36,6 +37,14 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
// Information about which extensions are assigned to which render processes.
const ProcessMap& process_map() const { return process_map_; }
+ declarative_net_request::RulesetManager* ruleset_manager() {
+ return &ruleset_manager_;
+ }
+
+ const declarative_net_request::RulesetManager* ruleset_manager() const {
+ return &ruleset_manager_;
+ }
+
// Callback for when new extensions are loaded.
void AddExtension(const Extension* extension,
base::Time install_time,
@@ -110,6 +119,8 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
// Assignment of extensions to renderer processes.
ProcessMap process_map_;
+ declarative_net_request::RulesetManager ruleset_manager_;
+
scoped_refptr<ContentVerifier> content_verifier_;
};
« no previous file with comments | « extensions/browser/guest_view/web_view/BUILD.gn ('k') | extensions/browser/info_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698