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

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

Issue 698623002: Split WarningService from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: virtual -> override 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/browser/extension_system.h ('k') | extensions/browser/mock_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_BROWSER_MOCK_EXTENSION_SYSTEM_H_ 5 #ifndef EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_
6 #define EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_ 6 #define EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_
7 7
8 #include "components/keyed_service/content/browser_context_dependency_manager.h" 8 #include "components/keyed_service/content/browser_context_dependency_manager.h"
9 #include "extensions/browser/extension_registry_factory.h" 9 #include "extensions/browser/extension_registry_factory.h"
10 #include "extensions/browser/extension_system.h" 10 #include "extensions/browser/extension_system.h"
(...skipping 18 matching lines...) Expand all
29 void InitForRegularProfile(bool extensions_enabled) override; 29 void InitForRegularProfile(bool extensions_enabled) override;
30 ExtensionService* extension_service() override; 30 ExtensionService* extension_service() override;
31 RuntimeData* runtime_data() override; 31 RuntimeData* runtime_data() override;
32 ManagementPolicy* management_policy() override; 32 ManagementPolicy* management_policy() override;
33 SharedUserScriptMaster* shared_user_script_master() override; 33 SharedUserScriptMaster* shared_user_script_master() override;
34 StateStore* state_store() override; 34 StateStore* state_store() override;
35 StateStore* rules_store() override; 35 StateStore* rules_store() override;
36 InfoMap* info_map() override; 36 InfoMap* info_map() override;
37 LazyBackgroundTaskQueue* lazy_background_task_queue() override; 37 LazyBackgroundTaskQueue* lazy_background_task_queue() override;
38 EventRouter* event_router() override; 38 EventRouter* event_router() override;
39 WarningService* warning_service() override;
40 Blacklist* blacklist() override; 39 Blacklist* blacklist() override;
41 ErrorConsole* error_console() override; 40 ErrorConsole* error_console() override;
42 InstallVerifier* install_verifier() override; 41 InstallVerifier* install_verifier() override;
43 QuotaService* quota_service() override; 42 QuotaService* quota_service() override;
44 const OneShotEvent& ready() const override; 43 const OneShotEvent& ready() const override;
45 ContentVerifier* content_verifier() override; 44 ContentVerifier* content_verifier() override;
46 scoped_ptr<ExtensionSet> GetDependentExtensions( 45 scoped_ptr<ExtensionSet> GetDependentExtensions(
47 const Extension* extension) override; 46 const Extension* extension) override;
48 DeclarativeUserScriptMaster* GetDeclarativeUserScriptMasterByExtension( 47 DeclarativeUserScriptMaster* GetDeclarativeUserScriptMasterByExtension(
49 const ExtensionId& extension_id) override; 48 const ExtensionId& extension_id) override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 GetServiceForBrowserContext(context, true)); 83 GetServiceForBrowserContext(context, true));
85 } 84 }
86 85
87 private: 86 private:
88 DISALLOW_COPY_AND_ASSIGN(MockExtensionSystemFactory); 87 DISALLOW_COPY_AND_ASSIGN(MockExtensionSystemFactory);
89 }; 88 };
90 89
91 } // namespace extensions 90 } // namespace extensions
92 91
93 #endif // EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_ 92 #endif // EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_system.h ('k') | extensions/browser/mock_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698