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

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

Issue 10545128: Unrevert r141537: Add extensions::StateStore and use that instead of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix.crash Created 8 years, 6 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 #include "chrome/browser/extensions/test_extension_system.h" 5 #include "chrome/browser/extensions/test_extension_system.h"
6 6
7 #include "chrome/browser/extensions/api/alarms/alarm_manager.h" 7 #include "chrome/browser/extensions/api/alarms/alarm_manager.h"
8 #include "chrome/browser/extensions/extension_devtools_manager.h" 8 #include "chrome/browser/extensions/extension_devtools_manager.h"
9 #include "chrome/browser/extensions/extension_event_router.h" 9 #include "chrome/browser/extensions/extension_event_router.h"
10 #include "chrome/browser/extensions/extension_info_map.h" 10 #include "chrome/browser/extensions/extension_info_map.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 94
95 ExtensionProcessManager* TestExtensionSystem::process_manager() { 95 ExtensionProcessManager* TestExtensionSystem::process_manager() {
96 return extension_process_manager_.get(); 96 return extension_process_manager_.get();
97 } 97 }
98 98
99 extensions::AlarmManager* TestExtensionSystem::alarm_manager() { 99 extensions::AlarmManager* TestExtensionSystem::alarm_manager() {
100 return alarm_manager_.get(); 100 return alarm_manager_.get();
101 } 101 }
102 102
103 extensions::StateStore* TestExtensionSystem::state_store() {
104 return NULL;
105 }
106
103 ExtensionInfoMap* TestExtensionSystem::info_map() { 107 ExtensionInfoMap* TestExtensionSystem::info_map() {
104 return NULL; 108 return NULL;
105 } 109 }
106 110
107 extensions::LazyBackgroundTaskQueue* 111 extensions::LazyBackgroundTaskQueue*
108 TestExtensionSystem::lazy_background_task_queue() { 112 TestExtensionSystem::lazy_background_task_queue() {
109 return NULL; 113 return NULL;
110 } 114 }
111 115
112 ExtensionMessageService* TestExtensionSystem::message_service() { 116 ExtensionMessageService* TestExtensionSystem::message_service() {
113 return NULL; 117 return NULL;
114 } 118 }
115 119
116 ExtensionEventRouter* TestExtensionSystem::event_router() { 120 ExtensionEventRouter* TestExtensionSystem::event_router() {
117 return NULL; 121 return NULL;
118 } 122 }
119 123
120 extensions::RulesRegistryService* 124 extensions::RulesRegistryService*
121 TestExtensionSystem::rules_registry_service() { 125 TestExtensionSystem::rules_registry_service() {
122 return NULL; 126 return NULL;
123 } 127 }
124 128
125 // static 129 // static
126 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) { 130 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) {
127 return new TestExtensionSystem(profile); 131 return new TestExtensionSystem(profile);
128 } 132 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_system.h ('k') | chrome/browser/value_store/caching_value_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698