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

Side by Side Diff: extensions/shell/browser/shell_extension_system.h

Issue 1139643005: Extract ErrorConsole from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use ErrorConsole::Get, update year for copyright lines Created 5 years, 7 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 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_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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 DeclarativeUserScriptManager* declarative_user_script_manager() override; 60 DeclarativeUserScriptManager* declarative_user_script_manager() override;
61 StateStore* state_store() override; 61 StateStore* state_store() override;
62 StateStore* rules_store() override; 62 StateStore* rules_store() override;
63 InfoMap* info_map() override; 63 InfoMap* info_map() override;
64 LazyBackgroundTaskQueue* lazy_background_task_queue() override; 64 LazyBackgroundTaskQueue* lazy_background_task_queue() override;
65 EventRouter* event_router() override; 65 EventRouter* event_router() override;
66 ErrorConsole* error_console() override;
67 InstallVerifier* install_verifier() override; 66 InstallVerifier* install_verifier() override;
68 QuotaService* quota_service() override; 67 QuotaService* quota_service() override;
69 void RegisterExtensionWithRequestContexts( 68 void RegisterExtensionWithRequestContexts(
70 const Extension* extension) override; 69 const Extension* extension) override;
71 void UnregisterExtensionWithRequestContexts( 70 void UnregisterExtensionWithRequestContexts(
72 const std::string& extension_id, 71 const std::string& extension_id,
73 const UnloadedExtensionInfo::Reason reason) override; 72 const UnloadedExtensionInfo::Reason reason) override;
74 const OneShotEvent& ready() const override; 73 const OneShotEvent& ready() const override;
75 ContentVerifier* content_verifier() override; 74 ContentVerifier* content_verifier() override;
76 scoped_ptr<ExtensionSet> GetDependentExtensions( 75 scoped_ptr<ExtensionSet> GetDependentExtensions(
(...skipping 12 matching lines...) Expand all
89 88
90 // Signaled when the extension system has completed its startup tasks. 89 // Signaled when the extension system has completed its startup tasks.
91 OneShotEvent ready_; 90 OneShotEvent ready_;
92 91
93 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem); 92 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem);
94 }; 93 };
95 94
96 } // namespace extensions 95 } // namespace extensions
97 96
98 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 97 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/browser/mock_extension_system.cc ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698