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

Unified Diff: chrome/browser/ui/webui/options/extension_settings_handler.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 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/ui/webui/options/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/extension_settings_handler.cc b/chrome/browser/ui/webui/options/extension_settings_handler.cc
index b7ac296308f366ef077ae0661c0b4a8b9a003cbe..2f4225f51bdf02d7b6feb69aba2788d9f4e6b957 100644
--- a/chrome/browser/ui/webui/options/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/extension_settings_handler.cc
@@ -600,7 +600,7 @@ void ExtensionsDOMHandler::HandleLoadMessage(const ListValue* args) {
void ExtensionsDOMHandler::ShowAlert(const std::string& message) {
ListValue arguments;
- arguments.Append(Value::CreateStringValue(message));
+ arguments.Append(base::StringValue::New(message));
web_ui_->CallJavascriptFunction(L"alert", arguments);
}
@@ -701,7 +701,7 @@ void ExtensionsDOMHandler::FileSelected(const FilePath& path, int index,
void* params) {
// Add the extensions to the results structure.
ListValue results;
- results.Append(Value::CreateStringValue(path.value()));
+ results.Append(base::StringValue::New(path.value()));
web_ui_->CallJavascriptFunction(L"window.handleFilePathSelected", results);
}
« no previous file with comments | « chrome/browser/ui/webui/options/core_options_handler.cc ('k') | chrome/browser/ui/webui/options/font_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698