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

Unified Diff: chrome/browser/extensions/extension_message_bubble_controller_unittest.cc

Issue 388963002: Get rid of the rest of CreateStringValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad rebase Created 6 years, 5 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/extension_message_bubble_controller_unittest.cc
diff --git a/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc b/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc
index 5f206a085b4783e9e2514cf4749a704e49e9c10c..54fadcab64a3d66595bbdfed0579e4ff88114fb8 100644
--- a/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc
+++ b/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc
@@ -374,11 +374,10 @@ class ExtensionMessageBubbleTest : public testing::Test {
base::Time::Now(),
true, // is_enabled.
false); // is_incognito_enabled.
- extension_prefs_value_map->SetExtensionPref(
- id,
- prefs::kProxy,
- kExtensionPrefsScopeRegular,
- base::Value::CreateStringValue(id));
+ extension_prefs_value_map->SetExtensionPref(id,
+ prefs::kProxy,
+ kExtensionPrefsScopeRegular,
+ new base::StringValue(id));
if (ExtensionRegistry::Get(profile())->enabled_extensions().GetByID(id))
return testing::AssertionSuccess();
« no previous file with comments | « chrome/browser/extensions/extension_gcm_app_handler_unittest.cc ('k') | chrome/browser/extensions/policy_handlers_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698