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

Unified Diff: chrome/test/testing_profile.cc

Issue 7189029: Implement an initial extension settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: dgrogan comments #2, mihai comments #1 Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/testing_profile.cc
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
index 08dd6919d101708e15eb1bf1f8fac1f47a41a31c..0bc79222858d8a67382a5617141cc4207bbff429 100644
--- a/chrome/test/testing_profile.cc
+++ b/chrome/test/testing_profile.cc
@@ -20,6 +20,7 @@
#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
#include "chrome/browser/extensions/extension_pref_value_map.h"
#include "chrome/browser/extensions/extension_service.h"
+#include "chrome/browser/extensions/extension_settings.h"
#include "chrome/browser/extensions/extension_special_storage_policy.h"
#include "chrome/browser/favicon/favicon_service.h"
#include "chrome/browser/geolocation/geolocation_content_settings_map.h"
@@ -338,10 +339,13 @@ ExtensionService* TestingProfile::CreateExtensionService(
new ExtensionPrefs(GetPrefs(),
install_directory,
extension_pref_value_map_.get()));
+ extension_settings_.reset(
+ new ExtensionSettings(GetPath().Append("Extension Settings")));
extension_service_.reset(new ExtensionService(this,
command_line,
install_directory,
extension_prefs_.get(),
+ extension_settings_.get(),
autoupdate_enabled,
true));
return extension_service_.get();
« chrome/test/data/extensions/api_test/settings/test.html ('K') | « chrome/test/testing_profile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698