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

Unified Diff: chrome/browser/extensions/test_extension_system.h

Issue 14200028: Make CrosSettings and DeviceSettingsService non Lazy instances (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/test_extension_system.h
diff --git a/chrome/browser/extensions/test_extension_system.h b/chrome/browser/extensions/test_extension_system.h
index bb845a96d27f7ecbc3c6bfbd2a58ff71e79e4df1..46c65fde74f76bd34f5cc83174f703417a07c642 100644
--- a/chrome/browser/extensions/test_extension_system.h
+++ b/chrome/browser/extensions/test_extension_system.h
@@ -15,6 +15,12 @@ class FilePath;
class Time;
}
+#if defined(OS_CHROMEOS)
+namespace chromeos {
+class ScopedTestCrosSettings;
+}
+#endif
+
namespace extensions {
// Test ExtensionSystem, for use with TestingProfile.
@@ -87,6 +93,10 @@ class TestExtensionSystem : public ExtensionSystem {
scoped_ptr<AlarmManager> alarm_manager_;
scoped_refptr<ExtensionInfoMap> info_map_;
scoped_ptr<ApiResourceManager<Socket> > socket_manager_;
+#if defined OS_CHROMEOS
+ // ExtensionService depends on UserManager which depends on CrosSettings.
+ scoped_ptr<chromeos::ScopedTestCrosSettings> test_cros_settings_;
+#endif
};
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/test_extension_environment.h ('k') | chrome/browser/extensions/test_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698