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

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

Issue 1129063011: Extract LazyBackgroundTaskQueue from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased from master 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_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 29
30 // ExtensionSystem overrides: 30 // ExtensionSystem overrides:
31 void InitForRegularProfile(bool extensions_enabled) override; 31 void InitForRegularProfile(bool extensions_enabled) override;
32 ExtensionService* extension_service() override; 32 ExtensionService* extension_service() override;
33 RuntimeData* runtime_data() override; 33 RuntimeData* runtime_data() override;
34 ManagementPolicy* management_policy() override; 34 ManagementPolicy* management_policy() override;
35 SharedUserScriptMaster* shared_user_script_master() override; 35 SharedUserScriptMaster* shared_user_script_master() override;
36 StateStore* state_store() override; 36 StateStore* state_store() override;
37 StateStore* rules_store() override; 37 StateStore* rules_store() override;
38 InfoMap* info_map() override; 38 InfoMap* info_map() override;
39 LazyBackgroundTaskQueue* lazy_background_task_queue() override;
40 EventRouter* event_router() override; 39 EventRouter* event_router() override;
41 QuotaService* quota_service() override; 40 QuotaService* quota_service() override;
42 const OneShotEvent& ready() const override; 41 const OneShotEvent& ready() const override;
43 ContentVerifier* content_verifier() override; 42 ContentVerifier* content_verifier() override;
44 scoped_ptr<ExtensionSet> GetDependentExtensions( 43 scoped_ptr<ExtensionSet> GetDependentExtensions(
45 const Extension* extension) override; 44 const Extension* extension) override;
46 45
47 private: 46 private:
48 content::BrowserContext* browser_context_; 47 content::BrowserContext* browser_context_;
49 OneShotEvent ready_; 48 OneShotEvent ready_;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 GetServiceForBrowserContext(context, true)); 82 GetServiceForBrowserContext(context, true));
84 } 83 }
85 84
86 private: 85 private:
87 DISALLOW_COPY_AND_ASSIGN(MockExtensionSystemFactory); 86 DISALLOW_COPY_AND_ASSIGN(MockExtensionSystemFactory);
88 }; 87 };
89 88
90 } // namespace extensions 89 } // namespace extensions
91 90
92 #endif // EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_ 91 #endif // EXTENSIONS_BROWSER_MOCK_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/browser/lazy_background_task_queue_factory.cc ('k') | extensions/browser/mock_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698