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

Side by Side Diff: extensions/shell/browser/shell_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
« no previous file with comments | « extensions/extensions.gyp ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // KeyedService implementation: 51 // KeyedService implementation:
52 void Shutdown() override; 52 void Shutdown() override;
53 53
54 // ExtensionSystem implementation: 54 // ExtensionSystem implementation:
55 void InitForRegularProfile(bool extensions_enabled) override; 55 void InitForRegularProfile(bool extensions_enabled) override;
56 ExtensionService* extension_service() override; 56 ExtensionService* extension_service() override;
57 RuntimeData* runtime_data() override; 57 RuntimeData* runtime_data() override;
58 ManagementPolicy* management_policy() override; 58 ManagementPolicy* management_policy() override;
59 SharedUserScriptMaster* shared_user_script_master() override; 59 SharedUserScriptMaster* shared_user_script_master() override;
60 ProcessManager* process_manager() override;
61 StateStore* state_store() override; 60 StateStore* state_store() override;
62 StateStore* rules_store() override; 61 StateStore* rules_store() override;
63 InfoMap* info_map() override; 62 InfoMap* info_map() override;
64 LazyBackgroundTaskQueue* lazy_background_task_queue() override; 63 LazyBackgroundTaskQueue* lazy_background_task_queue() override;
65 EventRouter* event_router() override; 64 EventRouter* event_router() override;
66 WarningService* warning_service() override; 65 WarningService* warning_service() override;
67 Blacklist* blacklist() override; 66 Blacklist* blacklist() override;
68 ErrorConsole* error_console() override; 67 ErrorConsole* error_console() override;
69 InstallVerifier* install_verifier() override; 68 InstallVerifier* install_verifier() override;
70 QuotaService* quota_service() override; 69 QuotaService* quota_service() override;
(...skipping 11 matching lines...) Expand all
82 81
83 private: 82 private:
84 content::BrowserContext* browser_context_; // Not owned. 83 content::BrowserContext* browser_context_; // Not owned.
85 84
86 // Data to be accessed on the IO thread. Must outlive process_manager_. 85 // Data to be accessed on the IO thread. Must outlive process_manager_.
87 scoped_refptr<InfoMap> info_map_; 86 scoped_refptr<InfoMap> info_map_;
88 87
89 scoped_ptr<RuntimeData> runtime_data_; 88 scoped_ptr<RuntimeData> runtime_data_;
90 scoped_ptr<LazyBackgroundTaskQueue> lazy_background_task_queue_; 89 scoped_ptr<LazyBackgroundTaskQueue> lazy_background_task_queue_;
91 scoped_ptr<EventRouter> event_router_; 90 scoped_ptr<EventRouter> event_router_;
92 scoped_ptr<ProcessManager> process_manager_;
93 scoped_ptr<QuotaService> quota_service_; 91 scoped_ptr<QuotaService> quota_service_;
94 92
95 // Signaled when the extension system has completed its startup tasks. 93 // Signaled when the extension system has completed its startup tasks.
96 OneShotEvent ready_; 94 OneShotEvent ready_;
97 95
98 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem); 96 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem);
99 }; 97 };
100 98
101 } // namespace extensions 99 } // namespace extensions
102 100
103 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 101 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/extensions.gyp ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698