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

Unified Diff: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/chromeos/drive_internals_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
index 6c2ee6e50ea5a35496fb3c0d5db4736c3b5940a0..37156b8328e9f137c8926a4ac7b05c6aa5ee6b28 100644
--- a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
@@ -811,7 +811,7 @@ void DriveInternalsWebUIHandler::OnGetResourceEntryByPath(
if (error == drive::FILE_ERROR_OK) {
DCHECK(entry.get());
- const base::StringValue value(FormatEntry(path, *entry) + "\n");
+ const base::Value value(FormatEntry(path, *entry) + "\n");
web_ui()->CallJavascriptFunctionUnsafe("updateFileSystemContents", value);
}
}
@@ -846,7 +846,7 @@ void DriveInternalsWebUIHandler::OnReadDirectoryByPath(
// There may be pending ReadDirectoryByPath() calls, but we can update
// the page with what we have now. This results in progressive
// updates, which is good for a large file system.
- const base::StringValue value(file_system_as_text);
+ const base::Value value(file_system_as_text);
web_ui()->CallJavascriptFunctionUnsafe("updateFileSystemContents", value);
}
}

Powered by Google App Engine
This is Rietveld 408576698