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

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

Issue 10407105: Improve error messaging of webRequest API in case of conflicts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Evan's comments Created 8 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 | 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual ExtensionInfoMap* info_map() OVERRIDE; 57 virtual ExtensionInfoMap* info_map() OVERRIDE;
58 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE; 58 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE;
59 virtual MessageService* message_service() OVERRIDE; 59 virtual MessageService* message_service() OVERRIDE;
60 virtual EventRouter* event_router() OVERRIDE; 60 virtual EventRouter* event_router() OVERRIDE;
61 virtual RulesRegistryService* rules_registry_service() OVERRIDE; 61 virtual RulesRegistryService* rules_registry_service() OVERRIDE;
62 virtual ApiResourceManager<SerialConnection>* serial_connection_manager() 62 virtual ApiResourceManager<SerialConnection>* serial_connection_manager()
63 OVERRIDE; 63 OVERRIDE;
64 virtual ApiResourceManager<Socket>* socket_manager() OVERRIDE; 64 virtual ApiResourceManager<Socket>* socket_manager() OVERRIDE;
65 virtual ApiResourceManager<UsbDeviceResource>* usb_device_resource_manager() 65 virtual ApiResourceManager<UsbDeviceResource>* usb_device_resource_manager()
66 OVERRIDE; 66 OVERRIDE;
67 virtual ExtensionWarningService* warning_service() OVERRIDE;
67 68
68 // Factory method for tests to use with SetTestingProfile. 69 // Factory method for tests to use with SetTestingProfile.
69 static ProfileKeyedService* Build(Profile* profile); 70 static ProfileKeyedService* Build(Profile* profile);
70 71
71 protected: 72 protected:
72 Profile* profile_; 73 Profile* profile_;
73 74
74 private: 75 private:
75 // The Extension Preferences. Only created if CreateExtensionService is 76 // The Extension Preferences. Only created if CreateExtensionService is
76 // invoked. 77 // invoked.
77 scoped_ptr<ExtensionPrefs> extension_prefs_; 78 scoped_ptr<ExtensionPrefs> extension_prefs_;
78 scoped_ptr<StateStore> state_store_; 79 scoped_ptr<StateStore> state_store_;
79 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_; 80 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_;
80 scoped_ptr<ExtensionService> extension_service_; 81 scoped_ptr<ExtensionService> extension_service_;
81 scoped_ptr<ManagementPolicy> management_policy_; 82 scoped_ptr<ManagementPolicy> management_policy_;
82 scoped_ptr<ExtensionProcessManager> extension_process_manager_; 83 scoped_ptr<ExtensionProcessManager> extension_process_manager_;
83 scoped_ptr<AlarmManager> alarm_manager_; 84 scoped_ptr<AlarmManager> alarm_manager_;
84 scoped_refptr<ExtensionInfoMap> info_map_; 85 scoped_refptr<ExtensionInfoMap> info_map_;
85 scoped_ptr<ApiResourceManager<Socket> > socket_manager_; 86 scoped_ptr<ApiResourceManager<Socket> > socket_manager_;
86 }; 87 };
87 88
88 } // namespace extensions 89 } // namespace extensions
89 90
90 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 91 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698