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

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

Issue 77773002: Ensure the ExtensionSystem is ready before initializing an ExtensionAppModelBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: System -> Service Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service_unittest.h
diff --git a/chrome/browser/extensions/extension_service_unittest.h b/chrome/browser/extensions/extension_service_unittest.h
index 9ca5d22ce645cd10ecd61c27420e61e6fa309a13..cd12f6412f0ae3c44bdf80ea138cff2c36ffd08e 100644
--- a/chrome/browser/extensions/extension_service_unittest.h
+++ b/chrome/browser/extensions/extension_service_unittest.h
@@ -46,6 +46,13 @@ class ExtensionServiceTestBase : public testing::Test {
void InitializeExtensionService(const ExtensionServiceInitParams& params);
+ static scoped_ptr<TestingProfile> CreateTestingProfile(
+ const ExtensionServiceInitParams& params);
+
+ static ExtensionService* InitializeExtensionServiceForProfile(
+ const ExtensionServiceInitParams& params,
+ Profile* profile);
+
void InitializeInstalledExtensionService(
const base::FilePath& prefs_file,
const base::FilePath& source_install_dir);
@@ -71,6 +78,8 @@ class ExtensionServiceTestBase : public testing::Test {
protected:
ExtensionServiceInitParams CreateDefaultInitParams();
+ static ExtensionServiceInitParams CreateDefaultInitParamsInTempDir(
+ base::ScopedTempDir* temp_dir);
// Destroying at_exit_manager_ will delete all LazyInstances, so it must come
// after thread_bundle_ in the destruction order.
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698