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

Side by Side Diff: chrome/browser/extensions/test_extension_system.h

Issue 14636012: Move ShellWindowGeometryCache into apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
7 7
8 #include "chrome/browser/extensions/extension_system.h" 8 #include "chrome/browser/extensions/extension_system.h"
9 9
10 class CommandLine; 10 class CommandLine;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE {} 52 virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE {}
53 virtual void InitForOTRProfile() OVERRIDE {} 53 virtual void InitForOTRProfile() OVERRIDE {}
54 void SetExtensionService(ExtensionService* service); 54 void SetExtensionService(ExtensionService* service);
55 virtual ExtensionService* extension_service() OVERRIDE; 55 virtual ExtensionService* extension_service() OVERRIDE;
56 virtual ManagementPolicy* management_policy() OVERRIDE; 56 virtual ManagementPolicy* management_policy() OVERRIDE;
57 virtual UserScriptMaster* user_script_master() OVERRIDE; 57 virtual UserScriptMaster* user_script_master() OVERRIDE;
58 virtual ExtensionProcessManager* process_manager() OVERRIDE; 58 virtual ExtensionProcessManager* process_manager() OVERRIDE;
59 virtual StateStore* state_store() OVERRIDE; 59 virtual StateStore* state_store() OVERRIDE;
60 virtual StateStore* rules_store() OVERRIDE; 60 virtual StateStore* rules_store() OVERRIDE;
61 virtual ShellWindowGeometryCache* shell_window_geometry_cache() OVERRIDE;
62 virtual ExtensionInfoMap* info_map() OVERRIDE; 61 virtual ExtensionInfoMap* info_map() OVERRIDE;
63 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE; 62 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE;
64 virtual EventRouter* event_router() OVERRIDE; 63 virtual EventRouter* event_router() OVERRIDE;
65 virtual RulesRegistryService* rules_registry_service() OVERRIDE; 64 virtual RulesRegistryService* rules_registry_service() OVERRIDE;
66 virtual ApiResourceManager<SerialConnection>* serial_connection_manager() 65 virtual ApiResourceManager<SerialConnection>* serial_connection_manager()
67 OVERRIDE; 66 OVERRIDE;
68 virtual ApiResourceManager<Socket>* socket_manager() OVERRIDE; 67 virtual ApiResourceManager<Socket>* socket_manager() OVERRIDE;
69 virtual ApiResourceManager<UsbDeviceResource>* usb_device_resource_manager() 68 virtual ApiResourceManager<UsbDeviceResource>* usb_device_resource_manager()
70 OVERRIDE; 69 OVERRIDE;
71 virtual ExtensionWarningService* warning_service() OVERRIDE; 70 virtual ExtensionWarningService* warning_service() OVERRIDE;
72 virtual Blacklist* blacklist() OVERRIDE; 71 virtual Blacklist* blacklist() OVERRIDE;
73 72
74 // Factory method for tests to use with SetTestingProfile. 73 // Factory method for tests to use with SetTestingProfile.
75 static ProfileKeyedService* Build(content::BrowserContext* profile); 74 static ProfileKeyedService* Build(content::BrowserContext* profile);
76 75
77 protected: 76 protected:
78 Profile* profile_; 77 Profile* profile_;
79 78
80 private: 79 private:
81 scoped_ptr<StateStore> state_store_; 80 scoped_ptr<StateStore> state_store_;
82 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_;
83 scoped_ptr<Blacklist> blacklist_; 81 scoped_ptr<Blacklist> blacklist_;
84 scoped_ptr<StandardManagementPolicyProvider> 82 scoped_ptr<StandardManagementPolicyProvider>
85 standard_management_policy_provider_; 83 standard_management_policy_provider_;
86 scoped_ptr<ManagementPolicy> management_policy_; 84 scoped_ptr<ManagementPolicy> management_policy_;
87 scoped_ptr<ExtensionService> extension_service_; 85 scoped_ptr<ExtensionService> extension_service_;
88 scoped_ptr<ExtensionProcessManager> extension_process_manager_; 86 scoped_ptr<ExtensionProcessManager> extension_process_manager_;
89 scoped_refptr<ExtensionInfoMap> info_map_; 87 scoped_refptr<ExtensionInfoMap> info_map_;
90 scoped_ptr<ApiResourceManager<Socket> > socket_manager_; 88 scoped_ptr<ApiResourceManager<Socket> > socket_manager_;
91 }; 89 };
92 90
93 } // namespace extensions 91 } // namespace extensions
94 92
95 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 93 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/shell_window_geometry_cache_unittest.cc ('k') | chrome/browser/extensions/test_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698