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

Side by Side Diff: extensions/browser/extension_system.h

Issue 671763002: Extract ProcessManager from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual RuntimeData* runtime_data() = 0; 73 virtual RuntimeData* runtime_data() = 0;
74 74
75 // The class controlling whether users are permitted to perform certain 75 // The class controlling whether users are permitted to perform certain
76 // actions on extensions (install, uninstall, disable, etc.). 76 // actions on extensions (install, uninstall, disable, etc.).
77 // The ManagementPolicy is created at startup. 77 // The ManagementPolicy is created at startup.
78 virtual ManagementPolicy* management_policy() = 0; 78 virtual ManagementPolicy* management_policy() = 0;
79 79
80 // The SharedUserScriptMaster is created at startup. 80 // The SharedUserScriptMaster is created at startup.
81 virtual SharedUserScriptMaster* shared_user_script_master() = 0; 81 virtual SharedUserScriptMaster* shared_user_script_master() = 0;
82 82
83 // The ProcessManager is created at startup.
84 virtual ProcessManager* process_manager() = 0;
85
86 // The StateStore is created at startup. 83 // The StateStore is created at startup.
87 virtual StateStore* state_store() = 0; 84 virtual StateStore* state_store() = 0;
88 85
89 // The rules store is created at startup. 86 // The rules store is created at startup.
90 virtual StateStore* rules_store() = 0; 87 virtual StateStore* rules_store() = 0;
91 88
92 // Returns the IO-thread-accessible extension data. 89 // Returns the IO-thread-accessible extension data.
93 virtual InfoMap* info_map() = 0; 90 virtual InfoMap* info_map() = 0;
94 91
95 // The LazyBackgroundTaskQueue is created at startup. 92 // The LazyBackgroundTaskQueue is created at startup.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 140
144 // Get the user script master for declarative scripts, if any. 141 // Get the user script master for declarative scripts, if any.
145 virtual DeclarativeUserScriptMaster* 142 virtual DeclarativeUserScriptMaster*
146 GetDeclarativeUserScriptMasterByExtension( 143 GetDeclarativeUserScriptMasterByExtension(
147 const ExtensionId& extension_id) = 0; 144 const ExtensionId& extension_id) = 0;
148 }; 145 };
149 146
150 } // namespace extensions 147 } // namespace extensions
151 148
152 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ 149 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_message_filter.cc ('k') | extensions/browser/guest_view/app_view/app_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698