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

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

Issue 9764006: Make ExtensionPrefValueMap a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -- Created 8 years, 8 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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/extensions/extension_system.h" 9 #include "chrome/browser/extensions/extension_system.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual ExtensionEventRouter* event_router() OVERRIDE; 43 virtual ExtensionEventRouter* event_router() OVERRIDE;
44 virtual extensions::RulesRegistryService* rules_registry_service() 44 virtual extensions::RulesRegistryService* rules_registry_service()
45 OVERRIDE; 45 OVERRIDE;
46 46
47 // Factory method for tests to use with SetTestingProfile. 47 // Factory method for tests to use with SetTestingProfile.
48 static ProfileKeyedService* Build(Profile* profile); 48 static ProfileKeyedService* Build(Profile* profile);
49 49
50 private: 50 private:
51 Profile* profile_; 51 Profile* profile_;
52 52
53 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_;
54 // The Extension Preferences. Only created if CreateExtensionService is 53 // The Extension Preferences. Only created if CreateExtensionService is
55 // invoked. 54 // invoked.
56 scoped_ptr<ExtensionPrefs> extension_prefs_; 55 scoped_ptr<ExtensionPrefs> extension_prefs_;
57 scoped_ptr<ExtensionService> extension_service_; 56 scoped_ptr<ExtensionService> extension_service_;
58 scoped_ptr<ExtensionProcessManager> extension_process_manager_; 57 scoped_ptr<ExtensionProcessManager> extension_process_manager_;
59 }; 58 };
60 59
61 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 60 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_system.cc ('k') | chrome/browser/extensions/test_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698