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

Unified Diff: extensions/browser/api/web_request/upload_data_presenter.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: extensions/browser/api/web_request/upload_data_presenter.cc
diff --git a/extensions/browser/api/web_request/upload_data_presenter.cc b/extensions/browser/api/web_request/upload_data_presenter.cc
index ff63010bc56ca5ff1b84146be66855a7d82d54c1..dfe9eda0220d32d57d2760ffbe9c65b70e683a7b 100644
--- a/extensions/browser/api/web_request/upload_data_presenter.cc
+++ b/extensions/browser/api/web_request/upload_data_presenter.cc
@@ -19,7 +19,6 @@
using base::BinaryValue;
using base::DictionaryValue;
using base::ListValue;
-using base::StringValue;
using base::Value;
namespace keys = extension_web_request_api_constants;
@@ -98,7 +97,7 @@ void RawDataPresenter::FeedNextBytes(const char* bytes, size_t size) {
void RawDataPresenter::FeedNextFile(const std::string& filename) {
// Insert the file path instead of the contents, which may be too large.
subtle::AppendKeyValuePair(keys::kRequestBodyRawFileKey,
- base::MakeUnique<base::StringValue>(filename),
+ base::MakeUnique<base::Value>(filename),
list_.get());
}

Powered by Google App Engine
This is Rietveld 408576698